Skip to content

Commit 564ad24

Browse files
committed
Add fAIr domains to CORS
1 parent 4c2a501 commit 564ad24

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

backend/app/main.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@
1515
async def lifespan(app: FastAPI):
1616
"""Lifespan context manager for FastAPI app."""
1717
# Startup
18-
print("🚀 Starting HOTOSM Login Service")
18+
print("Starting HOTOSM Login Service")
1919
yield
2020
# Shutdown
21-
print("👋 Shutting down HOTOSM Login Service")
21+
print("Shutting down HOTOSM Login Service")
2222

2323

2424
app = FastAPI(
@@ -56,6 +56,8 @@ async def lifespan(app: FastAPI):
5656
"https://login.hotosm.org",
5757
"https://chatmap.hotosm.org",
5858
"https://chatmap-dev.hotosm.org",
59+
"https://fair.hotosm.org",
60+
"https://fair-dev.hotosm.org",
5961
# Test environments
6062
"https://testlogin.dronetm.hotosm.org",
6163
"https://testlogin.fair.hotosm.org",

0 commit comments

Comments
 (0)