chore: 🔨 默认线上接口地址

This commit is contained in:
hxr 2024-02-19 23:29:47 +08:00
parent 91458d8522
commit b3faed84cd
1 changed files with 2 additions and 2 deletions

View File

@ -52,9 +52,9 @@ export default defineConfig(({ mode }: ConfigEnv): UserConfig => {
[env.VITE_APP_BASE_API]: {
changeOrigin: true,
// 线上接口地址
// target: "http://vapi.youlai.tech",
target: "http://vapi.youlai.tech",
// 开发接口地址
target: "http://localhost:8989",
// target: "http://localhost:8989",
rewrite: (path) =>
path.replace(new RegExp("^" + env.VITE_APP_BASE_API), ""),
},