Skip to content

Commit

Permalink
fix: update cors middleware to allow all headers (#183)
Browse files Browse the repository at this point in the history
closes #182
  • Loading branch information
lchen-2101 authored Jun 26, 2024
1 parent e3e080f commit bb4e3dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/regtech_user_fi_management/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ async def lifespan(app_: FastAPI):
CORSMiddleware,
allow_origins=["*"],
allow_methods=["*"],
allow_headers=["authorization"],
allow_headers=["*"],
)

app.include_router(admin_router, prefix="/v1/admin")
Expand Down

0 comments on commit bb4e3dd

Please sign in to comment.