|
- <!--#include file="..\core\autoload_core.asp" -->
-
- <%
- ' Home routes
- router.AddRoute "GET", "/home", "HomeController", "Index"
- router.AddRoute "GET", "/", "HomeController", "Index"
- router.AddRoute "GET", "", "HomeController", "Index"
-
- ' Auth routes (Keycloak OpenID Connect)
- router.AddRoute "GET", "/auth/login", "AuthController", "Login"
- router.AddRoute "GET", "/auth/callback", "AuthController", "Callback"
- router.AddRoute "GET", "/auth/logout", "AuthController", "Logout"
-
- router.AddRoute "GET", "/404", "ErrorController", "NotFound"
-
- ' Dispatch the request (resolves route and executes controller action)
- MVC.DispatchRequest Request.ServerVariables("REQUEST_METHOD"), _
- TrimQueryParams(Request.ServerVariables("HTTP_X_ORIGINAL_URL"))
- %>
|