Skip to content

Commit 3a6f3f7

Browse files
committed
Change vue-router mode to webHashHistory
This allows refreshing the page when the UI is served by the gc-binary.
1 parent 313bb8c commit 3a6f3f7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

frontend/src/router/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
import {createRouter, createWebHistory} from 'vue-router'
1+
import {createRouter, createWebHashHistory} from 'vue-router'
22
import StartView from '../views/StartView.vue'
33
import FullStateView from "@/views/FullStateView.vue";
44

55
const router = createRouter({
6-
history: createWebHistory(import.meta.env.BASE_URL),
6+
history: createWebHashHistory(import.meta.env.BASE_URL),
77
routes: [
88
{
99
path: '/',

0 commit comments

Comments
 (0)