test: 测试commit

Former-commit-id: 3449d0331c38e2ce99381b77441eb900bdf2e086
This commit is contained in:
郝先瑞
2023-06-20 14:21:35 +08:00
parent 04278f615f
commit 0fc2eff399

View File

@@ -45,7 +45,7 @@ export default defineConfig(({ mode }: ConfigEnv): UserConfig => {
[env.VITE_APP_BASE_API]: {
target: "http://vapi.youlai.tech", // 线上接口地址
// target: 'http://localhost:8989', // 本地接口地址 , 后端工程仓库地址https://gitee.com/youlaiorg/youlai-boot
changeOrigin: true,
changeOrigin: false,
rewrite: (path) =>
path.replace(new RegExp("^" + env.VITE_APP_BASE_API), ""), // 替换 /dev-api 为 target 接口地址
},