Skip to content

Commit

Permalink
fix: use Hashroute
Browse files Browse the repository at this point in the history
  • Loading branch information
mrkhan authored Apr 15, 2024
1 parent c7033a2 commit 69c725a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/router/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { createRouter, createWebHistory, RouterView } from 'vue-router'
import { createRouter, createWebHashHistory, RouterView } from 'vue-router'
import HomeView from '../views/HomeView.vue'
import { getCurrentUser } from 'vuefire'
import { default as Tr, i18nRoute } from '@/i18n/translation'
Expand All @@ -17,7 +17,7 @@ const denyUnauthorized = async (to, from, next) => {
}

const router = createRouter({
history: createWebHistory(import.meta.env.VITE_BASE_URL),
history: createWebHashHistory(import.meta.env.VITE_BASE_URL),
routes: [
{
path: '/:locale?',
Expand Down

0 comments on commit 69c725a

Please sign in to comment.