Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Temp fix to revert to hash URLs #927

Merged
merged 2 commits into from
Sep 28, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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