diff --git a/photon-client/src/router/index.ts b/photon-client/src/router/index.ts index 4203177274..9e3e78f259 100644 --- a/photon-client/src/router/index.ts +++ b/photon-client/src/router/index.ts @@ -10,6 +10,7 @@ import NotFoundView from "@/views/NotFoundView.vue"; Vue.use(VueRouter); const router = new VueRouter({ + // Using HTML5 History Mode is problematic with Javalin because each route is treated as a server endpoint which causes Javalin to return a 404 error before being redirected to the UI. // mode: "history", base: import.meta.env.BASE_URL, routes: [