style: 修改代理

This commit is contained in:
rd
2025-08-14 14:10:37 +08:00
parent c8899f620b
commit 1f3826e9dc

View File

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