diff --git a/src/utils/util_load.cpp b/src/utils/util_load.cpp index fdeb2b8c..f56fe9fc 100644 --- a/src/utils/util_load.cpp +++ b/src/utils/util_load.cpp @@ -520,8 +520,9 @@ int handleRequest(Socket::Connection &conn){ } if (proto != "" && bestHost && bestScore){ H.Clean(); + H.setCORSHeaders(); H.SetHeader("Location", bestHost->details->getUrl(stream, proto) + vars); - H.SetBody("Click here for stream"); + H.SetBody(H.GetHeader("Location")); H.SendResponse("307", "Redirecting", conn); H.Clean(); }else{