This commit is contained in:
Yûki VACHOT 2021-10-18 07:50:53 +02:00
parent a54de518ac
commit 27bee6dbbb
2 changed files with 2 additions and 1 deletions

2
app.py
View file

@ -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)