Skip to content
Snippets Groups Projects
Commit 7f5980b3 authored by Jo Sama's avatar Jo Sama :scream:
Browse files

Disable documentation URLs

No need in exposing the documentation URLs. As this service might be
available from wherever, a bit obscurity is OK.
parent e07251ee
No related branches found
No related tags found
1 merge request!6Disable documentation urls
Pipeline #97501 passed
......@@ -6,7 +6,7 @@ import fastapi
from .document_client import DocumentClient
from .config import get_config
app = fastapi.FastAPI()
app = fastapi.FastAPI(docs_url=None, redoc_url=None)
config = get_config()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment