diff --git a/photon-client/src/router/index.ts b/photon-client/src/router/index.ts index 37bcc2cf91..9e3e78f259 100644 --- a/photon-client/src/router/index.ts +++ b/photon-client/src/router/index.ts @@ -10,7 +10,8 @@ import NotFoundView from "@/views/NotFoundView.vue"; Vue.use(VueRouter); const router = new VueRouter({ - mode: "history", + // 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: [ {