Skip to content

Commit

Permalink
Disable oauth redirect url
Browse files Browse the repository at this point in the history
  • Loading branch information
cmyui committed Jun 22, 2024
1 parent 6df64a5 commit bdf8abb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/init_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ def init_api() -> FastAPI:
openapi_url="/openapi.json" if settings.APP_ENV != "production" else None,
docs_url="/docs" if settings.APP_ENV != "production" else None,
redoc_url="/redoc" if settings.APP_ENV != "production" else None,
swagger_ui_oauth2_redirect_url=None,
)
app = init_routes(app)
app = init_middleware(app)
Expand Down

0 comments on commit bdf8abb

Please sign in to comment.