Skip to content

Commit 9fb340d

Browse files
authored
Update hello.py
1 parent 8150cde commit 9fb340d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/chat/hello.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,7 @@
55
@app.route("/")
66
def hello():
77
return "Hello World!"
8+
9+
if __name__ == "__main__":
10+
port = int(os.environ.get("PORT", 5000))
11+
app.run(host='0.0.0.0', port=port)

0 commit comments

Comments
 (0)