summaryrefslogtreecommitdiff
path: root/backend/main.py
diff options
context:
space:
mode:
authorYurenHao0426 <blackhao0426@gmail.com>2026-02-12 20:06:25 +0000
committerYurenHao0426 <blackhao0426@gmail.com>2026-02-12 20:06:25 +0000
commit6e8f245a6fc5bed08cfa96e4f669dc6af134afca (patch)
tree388bf2a3d6fc4ab70d0238466231b7640cb65304 /backend/main.py
parent924a82ac26dc9938b692f15db7aa06dd66b021bd (diff)
Add deployment config: nginx proxy, HTTPS, systemd servicesHEADmaster
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Diffstat (limited to 'backend/main.py')
-rw-r--r--backend/main.py2
1 files changed, 1 insertions, 1 deletions
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=["*"],