From 1e84774c0c0752c61e60592e7f7fc1c0d25a1dab Mon Sep 17 00:00:00 2001 From: hanbaoshan <hanbaoshan@aiotlink.com> Date: 星期二, 27 十月 2020 16:38:48 +0800 Subject: [PATCH] 首页加入算法 --- vue.config.js | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/vue.config.js b/vue.config.js index c5d38e8..153deec 100644 --- a/vue.config.js +++ b/vue.config.js @@ -72,6 +72,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' + } + }, "/api-v": { target: 'http://192.168.20.10:8000', changeOrigin: true -- Gitblit v1.8.0