From b2cae22719dd87e4af75d039cf67fdd1b6930204 Mon Sep 17 00:00:00 2001 From: Odboy Date: Tue, 6 Jan 2026 21:12:10 +0800 Subject: [PATCH] =?UTF-8?q?config(proxy):=20=E6=B7=BB=E5=8A=A0=E9=AA=8C?= =?UTF-8?q?=E8=AF=81=E7=A0=81=E6=8E=A5=E5=8F=A3=E4=BB=A3=E7=90=86=E9=85=8D?= =?UTF-8?q?=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- cutejava-front/vue.config.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/cutejava-front/vue.config.js b/cutejava-front/vue.config.js index f9454fe7..acc83dd0 100644 --- a/cutejava-front/vue.config.js +++ b/cutejava-front/vue.config.js @@ -41,6 +41,13 @@ module.exports = { pathRewrite: { '^/auth': 'auth' } + }, + '/captcha': { + target: process.env.VUE_APP_BASE_API, + changeOrigin: true, + pathRewrite: { + '^/captcha': 'captcha' + } } } },