From 8a80c340b33b5787b1a6accca5cbb1f7ccc59687 Mon Sep 17 00:00:00 2001 From: Ian Andwati Date: Sun, 15 May 2022 19:37:31 +0300 Subject: [PATCH] gunicorn bind --- wsgi.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/wsgi.py b/wsgi.py index 217ab4a..949b7f1 100644 --- a/wsgi.py +++ b/wsgi.py @@ -3,5 +3,4 @@ import os from src.server import app if __name__ == "__main__": - port = int(os.environ.get("PORT", 33507)) - app.run(host="0.0.0.0", port=port) + app.run()