feat: 新版本分支准备

Former-commit-id: 88e7b636d7d5ef642ea03f7fb4a95cf7a261a5f5
This commit is contained in:
horizons
2022-10-11 23:55:47 +08:00
parent 9d1c08e043
commit 46d9d57e53
3 changed files with 1 additions and 118 deletions

View File

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