diff --git a/backend/src/app/main.py b/backend/src/app/main.py index 5ce30e8..6b9e8d6 100644 --- a/backend/src/app/main.py +++ b/backend/src/app/main.py @@ -34,8 +34,10 @@ app.add_middleware( CORSMiddleware, allow_origins=settings.cors_origins_list, allow_credentials=True, - allow_methods=["*"], + allow_methods=["GET", "POST", "PUT", "DELETE", "OPTIONS", "PATCH"], allow_headers=["*"], + expose_headers=["*"], + max_age=3600, ) # Include routers diff --git a/frontend/index.html b/frontend/index.html index e0cc966..4e712f4 100644 --- a/frontend/index.html +++ b/frontend/index.html @@ -2,7 +2,7 @@
- +