This commit is contained in:
杰 朱
2021-09-01 15:32:06 +08:00
parent 4e9d70775d
commit 0ada5e1ab4

View File

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