From f7f0e44c4be8eb0e77fd310296c3b43bde21e4f9 Mon Sep 17 00:00:00 2001 From: ZZJ <10913410+zzj2100@user.noreply.gitee.com> Date: 星期四, 23 六月 2022 14:17:01 +0800 Subject: [PATCH] 新增联动场景 --- vue.config.js | 15 +++++++++++---- 1 files changed, 11 insertions(+), 4 deletions(-) diff --git a/vue.config.js b/vue.config.js index bed67fb..8cc7dec 100644 --- a/vue.config.js +++ b/vue.config.js @@ -14,7 +14,9 @@ proxy: { "/api": { // target: "http://192.168.20.10:7004", - target: "http://192.168.20.174:7070", + // target: "http://192.168.20.174:7070", + target: "http://192.168.20.235:7070", + // target: "http://192.168.20.117:7080", // secure: false, changeOrigin: true, }, @@ -22,13 +24,18 @@ "/httpImage": { //target: "http://bsic.asuscomm.com:7003", // target: "http://222.128.87.51:7003", - target: "http://192.168.20.10:7009", - // target: "http://192.168.20.117:7080", + // target: "http://192.168.20.10:7009", // target: "http://192.168.20.189:7009", - // target: "http://192.168.20.117:7080", + target: "http://192.168.20.235:7070", changeOrigin: true, //寮�鍚唬鐞� }, + + "/ws": { + target: "http://192.168.20.235:7070", + // ws: true, + changeOrigin: true, + }, }, }, }; -- Gitblit v1.8.0