Pārlūkot izejas kodu

更改服务器地址为236

yangjunjing 5 gadi atpakaļ
vecāks
revīzija
93950b8863
1 mainītis faili ar 6 papildinājumiem un 5 dzēšanām
  1. 6 5
      config/index.js

+ 6 - 5
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
@@ -90,11 +90,12 @@ module.exports = {
             },
             '/modelapi': {
                 target: 'http://192.168.20.225:8082',
+                // target: 'http://192.168.20.218:8082',//景灏
                 changeOrigin: true,
                 pathRewrite: {
                     "^/modelapi": "/"
                 }
-            }
+            },
         },
 
         // Various Dev Server settings