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