feat: 配置打包指令

This commit is contained in:
rd
2025-07-07 15:36:24 +08:00
parent 6043c5150e
commit 9273c3ade5
2 changed files with 2 additions and 4 deletions

View File

@ -40,8 +40,7 @@ export default defineConfig(({ mode }: ConfigEnv): UserConfig => {
changeOrigin: true,
rewrite: (path) => path.replace(/^\/api/, ''),
// 目标地址
target: 'http://192.168.40.3/api',
// target: 'https://lingjiapi.lvfunai.com/api',
target: 'https://lingjiapi.lvfunai.com/api',
},
},
},