From 7149f0c9b56b8de32e11a7606b4cdcd2ae93a818 Mon Sep 17 00:00:00 2001 From: Chris Chen Date: Wed, 4 Mar 2026 23:07:37 +1100 Subject: [PATCH] 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 Co-authored-by: Willem Jiang --- .env.example | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.env.example b/.env.example index 81761fe..8107d30 100644 --- a/.env.example +++ b/.env.example @@ -4,6 +4,9 @@ TAVILY_API_KEY=your-tavily-api-key # 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: # FIRECRAWL_API_KEY=your-firecrawl-api-key # VOLCENGINE_API_KEY=your-volcengine-api-key