diff --git a/config/index.js b/config/index.js index 7e58e1c7..b92cfe95 100644 --- a/config/index.js +++ b/config/index.js @@ -13,7 +13,8 @@ module.exports = { "/api": { // 请求的目标主机 //target: 'http://116.255.135.38:8081/nsgk_test/', - target: 'http://localhost:8080/', + //target: 'http://localhost:8080/', + target:'http://192.168.31.92:8080', changeOrigin: true, pathRewrite: { '^/api': ''