refactor: 项目细节优化
This commit is contained in:
1 parent
91e810ffa7
commit
0703579ecc
21 files changed
+87
-314
No files matched your search
+1
-1
@@ -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), '')
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user