修改打包静态资源指向cdn地址,以处理在根域名下的资源指向错误
This commit is contained in:
parent
ef3fd40ff4
commit
ad7b421eff
@ -25,6 +25,7 @@ if (!weappTailwindcssDisabled) {
|
||||
|
||||
// https://vitejs.dev/config/
|
||||
export default defineConfig({
|
||||
base: "https://cdn.xglpa.com/ai-agent-m/",
|
||||
plugins: [
|
||||
uni(),
|
||||
uniRouter({
|
||||
@ -40,5 +41,5 @@ export default defineConfig({
|
||||
server: {
|
||||
port: 8991,
|
||||
},
|
||||
base: "./",
|
||||
// base: "./",
|
||||
});
|
||||
|
||||
Loading…
Reference in New Issue
Block a user