Update TGBeta.ps1
This commit is contained in:
@@ -1498,11 +1498,7 @@ try {
|
||||
$response.OutputStream.Close()
|
||||
}
|
||||
|
||||
while ($listener.IsListening) {
|
||||
$context = $listener.GetContext()
|
||||
$request = $context.Request
|
||||
$response = $context.Response
|
||||
switch ($request.Url.AbsolutePath) {
|
||||
switch ($request.Url.AbsolutePath) {
|
||||
"/offboard/uninstallSVSMSPModule" {
|
||||
try {
|
||||
|
||||
@@ -1542,7 +1538,7 @@ try {
|
||||
$response.StatusCode = 404
|
||||
$responseString = "Task not found."
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
# Send the response
|
||||
$buffer = [System.Text.Encoding]::UTF8.GetBytes($responseString)
|
||||
|
||||
Reference in New Issue
Block a user