Skip to content
Snippets Groups Projects
Commit 4f5b2920 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 281c55a4
No related branches found
No related tags found
No related merge requests found
Pipeline #97363 passed
......@@ -3,7 +3,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