Skip to content

Commit

Permalink
fix: update cors middleware to allow all headers
Browse files Browse the repository at this point in the history
  • Loading branch information
lchen-2101 committed Jun 26, 2024
1 parent e3e080f commit cf8b932
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 cf8b932

Please sign in to comment.