Browse Source

数据中心代理地址修改

zhangyu 5 years ago
parent
commit
e69e67ee23
1 changed files with 4 additions and 4 deletions
  1. 4 4
      config/index.js

+ 4 - 4
config/index.js

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