fix: security problem with process.env

This commit is contained in:
mrholek
2024-06-14 13:18:42 +02:00
parent 6251226935
commit 85c9e17056
+1 -1
View File
@@ -303,7 +303,7 @@ const routes = [
] ]
const router = createRouter({ const router = createRouter({
history: createWebHashHistory(process.env.BASE_URL), history: createWebHashHistory(import.meta.env.BASE_URL),
routes, routes,
scrollBehavior() { scrollBehavior() {
// always scroll to top // always scroll to top