From e921f14f600ed33bb24c921968a048a0b39e882c Mon Sep 17 00:00:00 2001 From: zhangzengfei <zhangzengfei@smartai.com> Date: 星期三, 24 十一月 2021 19:05:27 +0800 Subject: [PATCH] 恢复测试前的代码 --- vue.config.js | 15 +++++++-------- 1 files changed, 7 insertions(+), 8 deletions(-) diff --git a/vue.config.js b/vue.config.js index 8dc2a29..f4b88d8 100644 --- a/vue.config.js +++ b/vue.config.js @@ -40,9 +40,11 @@ // } }); -// const serverUrl = "http://58.118.225.79:41243" // 缇婁簲 -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"); @@ -127,12 +129,9 @@ target: serverUrl, changeOrigin: true, //寮�鍚唬鐞� }, - "/temp": { - target: "http://192.168.20.10:9000", + "/iotdata": { + target: serverUrl2, changeOrigin: true, //寮�鍚唬鐞�, - pathRewrite: { - "/temp": "", - }, }, }, }, -- Gitblit v1.8.0