refactor: 项目细节优化

This commit is contained in:
郝先瑞
2022-03-27 21:45:50 +08:00
parent 91e810ffa7
commit 0703579ecc
21 changed files with 87 additions and 314 deletions

View File

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