From 85c9e1705626e79defb761f9560c8ae6d4bb9ad9 Mon Sep 17 00:00:00 2001 From: mrholek Date: Fri, 14 Jun 2024 13:18:42 +0200 Subject: [PATCH] fix: security problem with process.env --- src/router/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/router/index.js b/src/router/index.js index f70246f6..948de201 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -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