diff --git a/vite.config.ts b/vite.config.ts index 5596072..1b6d5a9 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -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' }, }, },