Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
alukach committed Dec 13, 2024
1 parent 8ddb3f6 commit d4757da
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions src/stac_auth_proxy/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,20 +60,6 @@ def create_app(settings: Optional[Settings] = None) -> FastAPI:
oidc_config_url=str(settings.oidc_discovery_url),
)

# @app.get("/collections")
# async def collections(
# request: Request,
# filter: Annotated[Optional[Expr], Depends(collections_filter.dependency)],
# ):
# # if filter:
# # print(f"{request.receive=}")
# # request = await apply_filter(
# # request,
# # filter,
# # )
# # print(f"{request.receive=}")
# return await proxy_handler.stream(request=request)

# Endpoints that are explicitely marked private
for path, methods in settings.private_endpoints.items():
app.add_api_route(
Expand Down

0 comments on commit d4757da

Please sign in to comment.