chore: 🔨 默认线上接口地址
This commit is contained in:
parent
91458d8522
commit
b3faed84cd
|
|
@ -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), ""),
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in New Issue