From 0d3db253cad1fb49c4fae9b9a537c8c318c7172f Mon Sep 17 00:00:00 2001 From: zhangzengfei <zhangzengfei@smartai.com> Date: 星期三, 29 十一月 2023 10:23:59 +0800 Subject: [PATCH] 优化应用中心卸载 --- vue.config.js | 33 ++++++++++++++++----------------- 1 files changed, 16 insertions(+), 17 deletions(-) diff --git a/vue.config.js b/vue.config.js index 2466bfa..0ff71ac 100644 --- a/vue.config.js +++ b/vue.config.js @@ -21,7 +21,7 @@ "library", "search", "settings", - "systemSettings" + "syslog" ] const argv = process.env.npm_lifecycle_event @@ -67,10 +67,9 @@ // } }) -const serverUrl = "http://192.168.20.189:7009" -// const serverUrl = "http://192.168.8.10:7009"; -//const serverUrl = "http://192.168.8.118:7009"; - +// const serverUrl = "http://192.168.20.189:7009"; +const serverUrl = "http://192.168.20.2:7009" +//const serverUrl = "http://192.168.20.116:7009"; const iotdataServerUrl = "http://192.168.8.10:9000" // const cir = require("circular-dependency-plugin"); @@ -118,14 +117,14 @@ // ws: true, changeOrigin: true }, - "/data/api-v/app/findAllApp": { - target: "/", - // target: "http://localhost:8081/", - changeOrigin: true, - pathRewrite: { - "^/data/api-v/app/findAllApp": "apps.json" - } - }, + // "/data/api-v/app/findAllApp": { + // // target: '/', + // target: "http://localhost:8080/", + // changeOrigin: true, + // pathRewrite: { + // "^/data/api-v/app/findAllApp": "apps.json", + // }, + // }, "/api-c": { target: serverUrl, changeOrigin: true @@ -150,19 +149,19 @@ }, "/httpImage": { target: serverUrl, - changeOrigin: true //寮�鍚唬鐞� + changeOrigin: true // 鍥剧墖浠g悊 }, "/files": { target: serverUrl, - changeOrigin: true //寮�鍚唬鐞� + changeOrigin: true // 鏂囦欢浠g悊 }, "/iotdata": { target: iotdataServerUrl, - changeOrigin: true //寮�鍚唬鐞�, + changeOrigin: true // iot鏈嶅姟, }, "/version": { target: serverUrl, - changeOrigin: true //寮�鍚唬鐞�, + changeOrigin: true // 鐗堟湰妫�鏌�, } } } -- Gitblit v1.8.0