mirror of
https://github.com/xinnan-tech/xiaozhi-esp32-server.git
synced 2026-11-28 04:59:52 +01:00
fix: index.js
修复router没有设置base
This commit is contained in:
parent
b5b4c5ced7
commit
1d8b898924
1 changed files with 1 additions and 0 deletions
|
|
@ -87,6 +87,7 @@ const routes = [
|
||||||
]
|
]
|
||||||
|
|
||||||
const router = new VueRouter({
|
const router = new VueRouter({
|
||||||
|
base: process.env.VUE_APP_PUBLIC_PATH || '/',
|
||||||
routes
|
routes
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue