Skip to content

RAGFlow is an agent-native database: a Retrieval-Augmented Generation (RAG) engine that grew into context infrastructure.

fix: Add admin proxy (#13186)

chanx59e9e770617f
diff --git a/web/vite.config.ts b/web/vite.config.ts
index 63bf82f2b6..21477eb397 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,