From 4a800a8fc83c6bd1f86a8e847b079a51a7532c09 Mon Sep 17 00:00:00 2001 From: zhangzengfei <zhangzengfei@smartai.com> Date: 星期三, 20 七月 2022 15:05:58 +0800 Subject: [PATCH] 修复国标配置的bug --- vue.config.js | 20 ++++++++++---------- 1 files changed, 10 insertions(+), 10 deletions(-) diff --git a/vue.config.js b/vue.config.js index d1117ca..103c24f 100644 --- a/vue.config.js +++ b/vue.config.js @@ -67,8 +67,8 @@ // } }); -//const serverUrl = "http://192.168.20.189:7009" -const serverUrl = "http://192.168.20.116:7009"; +const serverUrl = "http://192.168.20.189:7009"; +//const serverUrl = "http://192.168.20.116:7009"; const iotdataServerUrl = "http://192.168.8.10:9000"; // const cir = require("circular-dependency-plugin"); @@ -116,14 +116,14 @@ // ws: true, changeOrigin: true, }, - "/data/api-v/app/findAllApp": { - // target: '/', - target: "http://localhost:8080/", - 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