From 27bee6dbbb896fd625a43db42b1ccef6277914ab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Y=C3=BBki=20Vachot?= Date: Mon, 18 Oct 2021 07:50:53 +0200 Subject: [PATCH] Update --- Procfile | 1 - app.py | 2 ++ 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Procfile b/Procfile index e9aece8..e69de29 100644 --- a/Procfile +++ b/Procfile @@ -1 +0,0 @@ -web: gunicorn -b :$PORT app:app \ No newline at end of file diff --git a/app.py b/app.py index 1d6a9d3..b811521 100644 --- a/app.py +++ b/app.py @@ -2,10 +2,12 @@ import os from flask import Flask app = Flask(__name__) + @app.route('/') def hello_world(): # put application's code here return 'Hello World!' + if __name__ == '__main__': port = int(os.environ.get('PORT', 33507)) app.run(host='0.0.0.0', port=port, debug=True)