Skip to content

Commit 508ce7f

Browse files
committed
Make server publicly available
1 parent 1ec1080 commit 508ce7f

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/app.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,9 @@
88

99
@app.route('/')
1010
def hello_world():
11-
return 'How about trying a ' + content[randint(0,3)] + ' next'
11+
return 'How about trying a ' + content[randint(0, 3)] + ' next'
12+
13+
14+
if __name__ == '__main__':
15+
# Make the server publicly available by default
16+
app.run(debug=True, host='0.0.0.0')

0 commit comments

Comments
 (0)