diff --git a/vite.config.ts b/vite.config.ts index 6e38636..e980bd7 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -26,7 +26,7 @@ export default ({ mode }: ConfigEnv): UserConfig => { proxy: { [env.VITE_APP_BASE_API]: { // 线上API地址 - target: 'http://sapi.youlai.tech', + target: 'http://vapi.youlai.tech', // 本地API地址 // target: 'http://localhost:8989', changeOrigin: true,