From d7b105effa90c390e79e0fd4fd20de404ac83537 Mon Sep 17 00:00:00 2001 From: Sriman Achanta <68172138+srimanachanta@users.noreply.github.com> Date: Wed, 27 Sep 2023 22:44:31 -0400 Subject: [PATCH] add doc --- photon-client/src/router/index.ts | 1 + 1 file changed, 1 insertion(+) 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: [