feat: sas分支代理地址调为本地

Former-commit-id: 4352f15f4d6ea3a12b14de3ab129691e0bd4505b
This commit is contained in:
horizons
2022-09-26 08:15:03 +08:00
parent 81d7880ebc
commit 9d1c08e043
3 changed files with 3 additions and 3 deletions

View File

@@ -25,7 +25,7 @@ export default ({ mode }: ConfigEnv): UserConfig => {
open: true, // 运行自动打开浏览器
proxy: {
[env.VITE_APP_BASE_API]: {
target: 'https://api.youlai.tech',
target: 'http://127.0.0.1:9999',
changeOrigin: true,
rewrite: path =>
path.replace(new RegExp('^' + env.VITE_APP_BASE_API), '')