增加Workerman代理转发配置
This commit is contained in:
@@ -87,6 +87,13 @@ module.exports = {
|
||||
pathRewrite: {
|
||||
'^/background': ''
|
||||
}
|
||||
},
|
||||
'/workerman': {
|
||||
target: process.env.VUE_APP_WORKERMAN_URL,
|
||||
changeOrigin: true,
|
||||
pathRewrite: {
|
||||
'^/workerman': ''
|
||||
}
|
||||
}
|
||||
},
|
||||
disableHostCheck: process.env.NODE_ENV === 'development'
|
||||
|
||||
Reference in New Issue
Block a user