Skip to content

Commit 0ba7b95

Browse files
committed
fix: Update allowed origins for development environment in CORS configuration
1 parent 08afe20 commit 0ba7b95

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

backend/main.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,10 @@
2525
else:
2626
# Development: Allow localhost origins
2727
allowed_origins = [
28-
"http://localhost:3000",
28+
"http://localhost:8000",
2929
"http://localhost:5173",
30-
"http://localhost:8080",
31-
"http://127.0.0.1:3000",
30+
"http://127.0.0.1:8000",
3231
"http://127.0.0.1:5173",
33-
"http://127.0.0.1:8080",
3432
]
3533

3634
print(f"🔧 CORS Configuration - Production mode: {is_production}")

0 commit comments

Comments
 (0)