Skip to content

Commit

Permalink
feat: update cors policies
Browse files Browse the repository at this point in the history
  • Loading branch information
FacerAin committed Dec 7, 2023
1 parent 5c8b021 commit 235ebe7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
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=["*"],
Expand Down

0 comments on commit 235ebe7

Please sign in to comment.