chore: 🔨 代理目标地址修改

Former-commit-id: 3ccd60aeac0ffd84366bb2a7a6ddb8288b3bf9f0
This commit is contained in:
hxr
2023-08-08 01:32:02 +08:00
parent af5adf01f7
commit 3156b199e9
4 changed files with 5 additions and 5 deletions

View File

@@ -49,8 +49,6 @@ export default defineConfig(({ mode }: ConfigEnv): UserConfig => {
proxy: {
// 反向代理解决跨域
[env.VITE_APP_BASE_API]: {
// target: "http://vapi.youlai.tech", // 线上接口地址
// target: 'http://localhost:3001', // 本地接口地址 , 后端工程仓库地址https://gitee.com/youlaiorg/youlai-boot
target: env.VITE_APP_TARGET_URL,
changeOrigin: true,
rewrite: (path) =>