refactor: 项目细节优化
This commit is contained in:
@@ -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