添加子平台ip限制

This commit is contained in:
熊丽君
2022-01-25 10:35:50 +08:00
parent 725f176740
commit c62c4a9755
4 changed files with 235 additions and 2 deletions

View File

@ -35,7 +35,8 @@ module.exports = {
proxy: {
// detail: https://cli.vuejs.org/config/#devserver-proxy
[process.env.VUE_APP_BASE_API]: {
target: `http://192.168.0.142:8000`,
// target: `http://192.168.0.142:8000`,
target: `http://hf.zky.cn:8000`,
changeOrigin: true,
pathRewrite: {
['^' + process.env.VUE_APP_BASE_API]: '',