mirror of
https://github.com/xinnan-tech/xiaozhi-esp32-server.git
synced 2026-11-28 04:59:52 +01:00
fix(web): generator bundle resolves its route under the console mount path
The previous rebuild baked createWebHistory('./') which vue-router normalizes
to '/.' and matches nothing - the page rendered only the header shell. The
bundle now derives its router base from document.baseURI, verified in a real
browser at /generator/: step wizard renders, zero Han in the UI.
This commit is contained in:
parent
13a627af6b
commit
56e83aaec0
3 changed files with 6 additions and 6 deletions
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
|
@ -4,7 +4,7 @@
|
||||||
<meta charset="UTF-8" />
|
<meta charset="UTF-8" />
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||||
<title>Xiaozhi AI Customization</title>
|
<title>Xiaozhi AI Customization</title>
|
||||||
<script type="module" crossorigin src="./assets/index-C_B_50-2.js"></script>
|
<script type="module" crossorigin src="./assets/index-CTIG3yYe.js"></script>
|
||||||
<link rel="stylesheet" crossorigin href="./assets/index-D3IPibb6.css">
|
<link rel="stylesheet" crossorigin href="./assets/index-D3IPibb6.css">
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue