Redirect from old ui to new UI
This commit is contained in:
1 parent
a070343a78
commit
60e8b9200e
1 file changed
+8
@@ -45,6 +45,14 @@ function WebServerLoop()
|
||||
return true
|
||||
end function)
|
||||
|
||||
' Redirect to new UI in case someone opens this
|
||||
' TODO: Remove this on September 2023
|
||||
homeRouter.Get("/index.v1.html", function(context as object) as boolean
|
||||
response = context.response
|
||||
response.Redirect("/index.html")
|
||||
return true
|
||||
end function)
|
||||
|
||||
#if DEBUG
|
||||
allowedOrigin = "*"
|
||||
#else
|
||||
|
||||
Reference in new issue
Block a user