Skip to content

Commit

Permalink
fix(main.py): Enable FastAPI debug
Browse files Browse the repository at this point in the history
As we are still actively developing, debug is useful for us

Signed-off-by: Denys Fedoryshchenko <[email protected]>
  • Loading branch information
nuclearcat committed Oct 30, 2024
1 parent b0956ec commit 7a99386
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 @@ -115,7 +115,7 @@ def all(self):

metrics = Metrics()

app = FastAPI(lifespan=lifespan)
app = FastAPI(lifespan=lifespan, debug=True)
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 7a99386

Please sign in to comment.