perf: 接口转发

This commit is contained in:
rd
2025-07-09 15:05:58 +08:00
parent 4aa84346c0
commit 4871df06e8

View File

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