Update TGBeta.ps1

This commit is contained in:
2025-01-25 18:22:40 -05:00
parent ec5f469bb2
commit 467c2b9ede

View File

@@ -1498,6 +1498,10 @@ try {
$response.OutputStream.Close()
}
while ($listener.IsListening) {
$context = $listener.GetContext()
$request = $context.Request
$response = $context.Response
switch ($request.Url.AbsolutePath) {
"/offboard/uninstallSVSMSPModule" {
try {
@@ -1538,6 +1542,7 @@ try {
$response.StatusCode = 404
$responseString = "Task not found."
}
}
}
# Send the response
$buffer = [System.Text.Encoding]::UTF8.GetBytes($responseString)