diff --git a/config/index.js b/config/index.js index eebba6a7..fe397f12 100644 --- a/config/index.js +++ b/config/index.js @@ -12,8 +12,8 @@ module.exports = { proxyTable: { "/api": { // 请求的目标主机 - target: 'http://116.255.223.226:8081/nsgk_test/', - //target: 'http://localhost:8080/', + // target: 'http://116.255.223.226:8081/nsgk_test/', + target: 'http://localhost:8080/', changeOrigin: true, pathRewrite: { '^/api': ''