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 |   20 +++++++++++---------
 1 files changed, 11 insertions(+), 9 deletions(-)

diff --git a/vue.config.js b/vue.config.js
index a2a7dba..0ff71ac 100644
--- a/vue.config.js
+++ b/vue.config.js
@@ -67,7 +67,9 @@
   // }
 })
 
-const serverUrl = "http://192.168.20.189: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");
@@ -115,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

--
Gitblit v1.8.0