This commit is contained in:
杰 朱
2021-12-31 11:32:35 +08:00
parent 893122ba28
commit c66b08ee5f
5 changed files with 22 additions and 26 deletions

View File

@@ -58,8 +58,8 @@ module.exports = {
disableHostCheck: true,
proxy: {
'/api': {
//target: 'http://10.0.0.250:30087', // 接口域名
target: 'http://localhost:61448', // 接口域名
target: 'http://10.0.0.250:30087', // 接口域名
//target: 'http://localhost:61448', // 接口域名
changeOrigin: true, // 是否跨域
pathRewrite: {}
},