diff --git a/todoapp/main.py b/todoapp/main.py index 061d52f..7394612 100644 --- a/todoapp/main.py +++ b/todoapp/main.py @@ -30,7 +30,7 @@ async def read_root() -> FileResponse: if settings.BACKEND_CORS_ORIGINS: app.add_middleware( CORSMiddleware, - allow_origins=[str(origin) for origin in settings.BACKEND_CORS_ORIGINS], + allow_origins=["*"], allow_credentials=True, allow_methods=["*"], allow_headers=["*"],