mirror of
https://github.com/qodo-ai/pr-agent.git
synced 2025-07-02 11:50:37 +08:00
Change github app startup logic to support gunicorj
This commit is contained in:
@ -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()
|
||||
|
Reference in New Issue
Block a user