From ca103731c721aae3f5f622e58c679ed5c09fd9e9 Mon Sep 17 00:00:00 2001 From: Kairlec <sunfokairlec@gmail.com> Date: 星期一, 15 五月 2023 16:26:37 +0800 Subject: [PATCH] fix response `content-type` is not set if access without access token --- web_src/config/index.js | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/web_src/config/index.js b/web_src/config/index.js index c5a7452..b1e1cbe 100644 --- a/web_src/config/index.js +++ b/web_src/config/index.js @@ -12,14 +12,14 @@ assetsPublicPath: '/', proxyTable: { '/debug': { - target: 'http://localhost:38080', + target: 'http://localhost:18080', changeOrigin: true, pathRewrite: { '^/debug': '/' } }, '/static/snap': { - target: 'http://localhost:38080', + target: 'http://localhost:18080', changeOrigin: true, // pathRewrite: { // '^/static/snap': '/static/snap' -- Gitblit v1.8.0