From d365829b14ca4256d39694b9cdcd43bad0ad8595 Mon Sep 17 00:00:00 2001 From: ZZJ <zzjdsg2300@163.com> Date: 星期五, 11 二月 2022 18:18:39 +0800 Subject: [PATCH] bug修复 --- vue.config.js | 12 +++++++++--- 1 files changed, 9 insertions(+), 3 deletions(-) diff --git a/vue.config.js b/vue.config.js index d64f6f1..39c518e 100644 --- a/vue.config.js +++ b/vue.config.js @@ -40,8 +40,10 @@ // } }); -const serverUrl = "http://192.168.20.189:7009"; // 缇婁簲// -// const serverUrl = "http://192.168.8.10:7009"; +//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 serverUrl2 = "http://192.168.8.10:9000"; // const serverUrl = "http://192.168.20.10:7009"; // const serverUrl2 = "http://192.168.20.10:9000"; @@ -93,7 +95,7 @@ }, "/data/api-v/app/findAllApp": { // target: '/', - target: "http://localhost:8081/", + target: "http://localhost:8080/", changeOrigin: true, pathRewrite: { "^/data/api-v/app/findAllApp": "apps.json", @@ -133,6 +135,10 @@ target: serverUrl2, changeOrigin: true, //寮�鍚唬鐞�, }, + "/version": { + target: serverUrl, + changeOrigin: true, //寮�鍚唬鐞�, + }, }, }, // configureWebpack: { -- Gitblit v1.8.0