增加Workerman代理转发配置
Some checks failed
Release pipeline / publish (push) Has been cancelled
Release pipeline / Always run job (push) Has been cancelled

This commit is contained in:
sheng
2026-06-25 12:38:34 +08:00
parent 5001bf81b1
commit d49648a814
5 changed files with 12 additions and 1 deletions

View File

@@ -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'