From eec4e347d74d8f876d1edff837038d7ad313580d Mon Sep 17 00:00:00 2001 From: 648540858 <648540858@qq.com> Date: 星期四, 16 三月 2023 20:19:00 +0800 Subject: [PATCH] 优化端口保持 --- 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