sqlalchemy-debug
Some checks failed
deploy / deploy (push) Has been cancelled

This commit is contained in:
2023-12-24 17:25:57 +03:00
parent 8856bfc978
commit 392712c604
8 changed files with 44 additions and 48 deletions

View File

@@ -56,8 +56,4 @@ def exception_handler(_et, exc, _tb):
if __name__ == "__main__":
sys.excepthook = exception_handler
if "dev" in sys.argv:
import os
os.environ["MODE"] = "development"
uvicorn.run("main:app", host="0.0.0.0", port=PORT, proxy_headers=True, server_header=True)