Skip to content

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

docs: fix Python frontend proxy startup (#19606)

Horace185f089310fa
diff --git a/docs/develop/launch_ragflow_from_source.md b/docs/develop/launch_ragflow_from_source.md
index 7d1d8bf5d6..5312949f08 100644
--- a/docs/develop/launch_ragflow_from_source.md
+++ b/docs/develop/launch_ragflow_from_source.md
@@ -118,17 +118,13 @@ docker compose -f docker/docker-compose-base.yml up -d
npm install
```
-2. Update `server.proxy.target` in **vite.config.ts** to `http://127.0.0.1:9380`:
+2. Start the RAGFlow frontend service with the proxy configured for the Python backend:
```bash
- vim vite.config.ts
+ API_PROXY_SCHEME=python npm run dev
```
-3. Start up the RAGFlow frontend service:
-
- ```bash
- npm run dev
- ```
+ The `python` proxy scheme routes API requests to the Python backend on port `9380`. Use `go` for the Go backend on port `9384`, or `hybrid` when running both backends.
*The following message appears, showing the IP address and port number of your frontend service:*