Change github app startup logic to support gunicorj

This commit is contained in:
Ori Kotek
2024-02-23 18:29:35 +02:00
parent 2242f73661
commit 4d8c38e5e1

View File

@ -292,3 +292,5 @@ app.include_router(router)
def start():
uvicorn.run(app, host="0.0.0.0", port=int(os.environ.get("PORT", "3000")))
if __name__ == '__main__':
start()