Skip to content

Commit ae2aec0

Browse files
committed
workaround(main.py): Disable doc temporarily
As we are experiencing serialization issues, better to disable docs for now, until we figure out solution (and have time). Signed-off-by: Denys Fedoryshchenko <[email protected]>
1 parent 33dd2b0 commit ae2aec0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

api/main.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ async def lifespan(app: FastAPI): # pylint: disable=redefined-outer-name
7777
API_VERSIONS = ['v0']
7878

7979
metrics = Metrics()
80-
app = FastAPI(lifespan=lifespan, debug=True)
80+
app = FastAPI(lifespan=lifespan, debug=True, docs_url=None, redoc_url=None)
8181
db = Database(service=(os.getenv('MONGO_SERVICE') or 'mongodb://db:27017'))
8282
auth = Authentication(token_url="user/login")
8383
pubsub = None # pylint: disable=invalid-name

0 commit comments

Comments
 (0)