zhangyu пре 5 година
родитељ
комит
233050334a
1 измењених фајлова са 4 додато и 4 уклоњено
  1. 4 4
      config/index.js

+ 4 - 4
config/index.js

@@ -11,7 +11,7 @@ module.exports = {
         assetsPublicPath: '/',
         proxyTable: {
             '/admin': {
-                target: 'http://172.16.0.235:8080',
+                target: 'http://192.168.20.235:8080',
                 changeOrigin: true,
                 pathRewrite: {
                     // "^/apis": ""
@@ -19,7 +19,7 @@ module.exports = {
                 }
             },
             '/api': {
-                target: 'http://172.16.0.235:8080',
+                target: 'http://192.168.20.235:8080',
                 changeOrigin: true,
                 pathRewrite: {
                     "^/api": "/"
@@ -43,7 +43,7 @@ module.exports = {
             },
             '/pointconfig': {
                 // 目标 API 地址
-                target: 'http://172.16.0.235:8080/',
+                target: 'http://192.168.20.235:8080/',
                 // 如果要代理 websockets
                 ws: true,
                 // 将主机标头的原点更改为目标URL
@@ -59,7 +59,7 @@ module.exports = {
             },
             '/ScanBuilding': {
                 // 目标 API 地址
-                target: 'http://172.16.0.235:8080/',
+                target: 'http://192.168.20.235:8080/',
                 // 如果要代理 websockets
                 ws: true,
                 // 将主机标头的原点更改为目标URL