From ddad5f19e0cd21f5f499e45d8155cb793c621158 Mon Sep 17 00:00:00 2001 From: 马宇豪 <978517621@qq.com> Date: 星期一, 12 十二月 2022 10:00:27 +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