Skip to content

Commit 4cb2645

Browse files
committed
U24
1 parent bddf6a5 commit 4cb2645

2 files changed

Lines changed: 15 additions & 0 deletions

File tree

.python-version

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
3.11.8

app/app.py

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
import os
2+
3+
from flask import Flask
4+
5+
app = Flask(__name__)
6+
7+
8+
@app.route("/")
9+
def hello_world():
10+
return "Hello, World!"
11+
12+
13+
if __name__ == "__main__":
14+
app.run(port=os.environ.get("PORT", 3000), host="0.0.0.0")

0 commit comments

Comments
 (0)