Update TGBeta.ps1

This commit is contained in:
2025-01-25 18:28:20 -05:00
parent 60a6b48308
commit b0ebfc9bf8

View File

@@ -1498,10 +1498,6 @@ try {
$response.OutputStream.Close()
}
while ($listener.IsListening) {
$context = $listener.GetContext()
$request = $context.Request
$response = $context.Response
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)