Skip to content

Commit

Permalink
workaround(main.py): Disable doc temporarily
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
nuclearcat committed Dec 13, 2024
1 parent a68ee8a commit 901f079
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ async def lifespan(app: FastAPI): # pylint: disable=redefined-outer-name
API_VERSIONS = ['v0']

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

0 comments on commit 901f079

Please sign in to comment.