corrected old env names and fixed logout redirect
This commit is contained in:
@@ -2,7 +2,7 @@ import { useUserStore } from '@/stores/user'
|
||||
import { createRouter, createWebHistory } from 'vue-router'
|
||||
|
||||
const router = createRouter({
|
||||
history: createWebHistory(import.meta.env.BASE_URL),
|
||||
history: createWebHistory(import.meta.env.VITE_APIHOST),
|
||||
routes: [
|
||||
// PUBLIC
|
||||
{ path: '/join', component: () => import('@/pages/Join.vue') },
|
||||
|
||||
Reference in New Issue
Block a user