Commit 74f99f38 authored by yyh's avatar yyh

开发配置

parent f39b4e31
......@@ -19,7 +19,7 @@ module.exports = {
disableHostCheck: true,
proxy: {
'^/api': {
target: 'http://118.89.159.234:46789',
target: `http://118.89.159.234:${process.env.VUE_APP_CATEGORY === 'cs' ? '46788' : '46789'}`,
pathRewrite: {
'^/api': '/api',
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment