mirror of
https://github.com/xinnan-tech/xiaozhi-esp32-server.git
synced 2026-11-24 04:19:48 +01:00
fix: vue.config.js
修复publicPath空串问题、默认是"/"
This commit is contained in:
parent
21a08b3c7a
commit
b5b4c5ced7
1 changed files with 1 additions and 1 deletions
|
|
@ -52,7 +52,7 @@ module.exports = defineConfig({
|
|||
overlay: false, // 不显示 webpack 错误覆盖层
|
||||
},
|
||||
},
|
||||
publicPath: process.env.VUE_APP_PUBLIC_PATH || "",
|
||||
publicPath: process.env.VUE_APP_PUBLIC_PATH || "/",
|
||||
chainWebpack: config => {
|
||||
|
||||
// 修改 HTML 插件配置,动态插入 CDN 链接
|
||||
|
|
|
|||
Loading…
Reference in a new issue