From 34fec9feefe645cfe22d467ddff915f5198d1586 Mon Sep 17 00:00:00 2001 From: 13937891274 <kxc0822> Date: 星期三, 18 五月 2022 17:47:00 +0800 Subject: [PATCH] 安全隐患汇总-查看隐患单 --- config/index.js | 10 +++++++++- 1 files changed, 9 insertions(+), 1 deletions(-) diff --git a/config/index.js b/config/index.js index d087506..66ee7be 100644 --- a/config/index.js +++ b/config/index.js @@ -9,7 +9,15 @@ // Paths assetsSubDirectory: 'static', assetsPublicPath: '/', - proxyTable: {}, + proxyTable: { + '/taboi': { + target: 'http://123.56.127.115:8011', // 你接口的域名 + changeOrigin: true, + pathRewrite: { + '^/taboi': '/taboi' + }, + }, + }, // Various Dev Server settings -- Gitblit v1.9.2