mirror of
https://github.com/jumpserver/lina.git
synced 2025-09-21 02:59:07 +00:00
[Update] 修改代理
This commit is contained in:
@@ -46,6 +46,10 @@ module.exports = {
|
||||
pathRewrite: {
|
||||
['^' + process.env.VUE_APP_BASE_API]: ''
|
||||
}
|
||||
},
|
||||
'^/(auth|static)': {
|
||||
target: `http://localhost:8080`,
|
||||
changeOrigin: true
|
||||
}
|
||||
},
|
||||
after: require('./mock/mock-server.js')
|
||||
|
Reference in New Issue
Block a user