|
|
@@ -2,7 +2,7 @@ import { createRouter, createWebHistory } from "vue-router";
|
|
|
import { staticRouter, errorRouter } from "@/routers/modules/staticRouter";
|
|
|
|
|
|
const router = createRouter({
|
|
|
- history: createWebHistory(),
|
|
|
+ history: createWebHistory(import.meta.env.BASE_URL),
|
|
|
routes: [...staticRouter, ...errorRouter]
|
|
|
});
|
|
|
|