From 51008f86bc9112b2da0e73f75e2c545f2c30e1e4 Mon Sep 17 00:00:00 2001 From: ZZJ <zzjdsg2300@163.com> Date: 星期五, 26 十一月 2021 17:45:09 +0800 Subject: [PATCH] Merge branch 'bhomebus' of http://192.168.5.5:10010/r/web/vue-smart-ai into bhomebus --- vue.config.js | 18 ++++++++---------- 1 files changed, 8 insertions(+), 10 deletions(-) diff --git a/vue.config.js b/vue.config.js index 12fe966..f4b88d8 100644 --- a/vue.config.js +++ b/vue.config.js @@ -40,10 +40,11 @@ // } }); -// const serverUrl = "http://58.118.225.79:41243" // 缇婁簲 -// const serverUrl = "http://192.168.8.10:7009"; -const serverUrl = "http://192.168.20.189:7009"; -// const serverUrl = "http://192.168.20.10:9000"; +// const serverUrl = "http://192.168.20.189/:7009"; // 缇婁簲 +const serverUrl = "http://192.168.8.10:7009"; +const serverUrl2 = "http://192.168.8.10:9000"; +// const serverUrl = "http://192.168.20.10:7009"; +// const serverUrl2 = "http://192.168.20.10:9000"; // const cir = require("circular-dependency-plugin"); @@ -92,7 +93,7 @@ }, "/data/api-v/app/findAllApp": { // target: '/', - target: "http://localhost:8081/", + target: "http://localhost:8080/", changeOrigin: true, pathRewrite: { "^/data/api-v/app/findAllApp": "apps.json", @@ -128,12 +129,9 @@ target: serverUrl, changeOrigin: true, //寮�鍚唬鐞� }, - "/temp": { - target: serverUrl, + "/iotdata": { + target: serverUrl2, changeOrigin: true, //寮�鍚唬鐞�, - pathRewrite: { - "/temp": "", - }, }, }, }, -- Gitblit v1.8.0