From 6e8f245a6fc5bed08cfa96e4f669dc6af134afca Mon Sep 17 00:00:00 2001 From: YurenHao0426 Date: Thu, 12 Feb 2026 20:06:25 +0000 Subject: Add deployment config: nginx proxy, HTTPS, systemd services Co-Authored-By: Claude Opus 4.6 --- backend/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'backend/main.py') diff --git a/backend/main.py b/backend/main.py index 40353dd..721e7ea 100644 --- a/backend/main.py +++ b/backend/main.py @@ -31,7 +31,7 @@ def _extract_conversation_history(conversation: Dict[str, Any]) -> List[Dict[str # Enable CORS for local development app.add_middleware( CORSMiddleware, - allow_origins=["http://localhost:5173", "http://localhost:3000"], + allow_origins=["http://localhost:5173", "http://localhost:3000", "https://llm-council.blackhao.com"], allow_credentials=True, allow_methods=["*"], allow_headers=["*"], -- cgit v1.2.3