File tree Expand file tree Collapse file tree 1 file changed +0
-19
lines changed Expand file tree Collapse file tree 1 file changed +0
-19
lines changed Original file line number Diff line number Diff line change @@ -62,25 +62,6 @@ def create_app(settings: Optional[Settings] = None) -> FastAPI:
6262 collections_filter = settings .collections_filter ,
6363 items_filter = settings .items_filter ,
6464 )
65-
66- # Configure security dependency for explicitely specified endpoints
67- # for path_methods, dependencies in [
68- # (settings.private_endpoints, [Security(auth_scheme.validated_user)]),
69- # (settings.public_endpoints, []),
70- # ]:
71- # for path, methods in path_methods.items():
72- # endpoint = (
73- # openapi_handler
74- # if path == settings.openapi_spec_endpoint
75- # else proxy_handler.stream
76- # )
77- # app.add_api_route(
78- # path,
79- # endpoint=endpoint,
80- # methods=methods,
81- # dependencies=dependencies,
82- # )
83-
8465 # Catchall for remainder of the endpoints
8566 app .add_api_route (
8667 "/{path:path}" ,
You can’t perform that action at this time.
0 commit comments