shaun-sheep 5 years ago
parent
commit
89110dd72c
1 changed files with 4 additions and 5 deletions
  1. 4 5
      config/index.js

+ 4 - 5
config/index.js

@@ -11,15 +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.234:8080',
+        target: 'http://192.168.20.236:8080',
         changeOrigin: true,
         pathRewrite: {
           "^/api": "/"
@@ -43,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
@@ -67,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