From 59e9e770617f5fe96bbd13d05133b125628844e8 Mon Sep 17 00:00:00 2001 From: chanx <1243304602@qq.com> Date: Tue, 24 Feb 2026 10:29:58 +0800 Subject: [PATCH] fix: Add admin proxy (#13186) ### What problem does this PR solve? fix: Add admin proxy ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue) --- web/vite.config.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/web/vite.config.ts b/web/vite.config.ts index 63bf82f2b..21477eb39 100644 --- a/web/vite.config.ts +++ b/web/vite.config.ts @@ -65,6 +65,11 @@ export default defineConfig(({ mode, command }) => { overlay: false, }, proxy: { + '/api/v1/admin': { + target: 'http://127.0.0.1:9381/', + changeOrigin: true, + ws: true, + }, '/api': { target: 'http://127.0.0.1:9380/', changeOrigin: true,