mirror of
https://gitee.com/wanwujie/deer-flow
synced 2026-04-19 04:14:46 +08:00
Add CORS_ORIGINS to .env.example for custom frontend port support (#969)
Fixes issue #47: CORS error when frontend port isn't 3000 Users running the frontend on a port other than 3000 need to set CORS_ORIGINS to allow cross-origin requests. This addition to .env.example makes this configuration option visible. Co-authored-by: GitHub Agent <agent@example.com> Co-authored-by: Willem Jiang <willem.jiang@gmail.com>
This commit is contained in:
@@ -4,6 +4,9 @@ TAVILY_API_KEY=your-tavily-api-key
|
|||||||
# Jina API Key
|
# Jina API Key
|
||||||
JINA_API_KEY=your-jina-api-key
|
JINA_API_KEY=your-jina-api-key
|
||||||
|
|
||||||
|
# CORS Origins (comma-separated) - e.g., http://localhost:3000,http://localhost:3001
|
||||||
|
# CORS_ORIGINS=http://localhost:3000
|
||||||
|
|
||||||
# Optional:
|
# Optional:
|
||||||
# FIRECRAWL_API_KEY=your-firecrawl-api-key
|
# FIRECRAWL_API_KEY=your-firecrawl-api-key
|
||||||
# VOLCENGINE_API_KEY=your-volcengine-api-key
|
# VOLCENGINE_API_KEY=your-volcengine-api-key
|
||||||
|
|||||||
Reference in New Issue
Block a user