Skip to content

Commit

Permalink
Temp fix to revert to hash URLs (PhotonVision#927)
Browse files Browse the repository at this point in the history
  • Loading branch information
srimanachanta authored Sep 28, 2023
1 parent 3c85291 commit 5267b2c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion photon-client/src/router/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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: [
{
Expand Down

0 comments on commit 5267b2c

Please sign in to comment.