fix: security problem with process.env
This commit is contained in:
+1
-1
@@ -303,7 +303,7 @@ const routes = [
|
||||
]
|
||||
|
||||
const router = createRouter({
|
||||
history: createWebHashHistory(process.env.BASE_URL),
|
||||
history: createWebHashHistory(import.meta.env.BASE_URL),
|
||||
routes,
|
||||
scrollBehavior() {
|
||||
// always scroll to top
|
||||
|
||||
Reference in New Issue
Block a user