Skip to content

Commit 39ae9c4

Browse files
authored
Change router history mode to use hash mode
1 parent ef5ef9d commit 39ae9c4

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/router.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
import { createRouter, createWebHistory } from 'vue-router'
1+
import { createRouter, createWebHashHistory } from 'vue-router'
22
import { SYSTEM_PROMPTS } from './config'
33

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

0 commit comments

Comments
 (0)