chore: 🔨 默认线上接口地址
This commit is contained in:
@@ -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), ""),
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user