Skip to content

Commit 7b5e1a7

Browse files
committed
Updated app.py to display hostname differently
2 parents 24a6579 + de94d1d commit 7b5e1a7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
@app.route('/')
1010
def hello():
1111
redis.incr('hits')
12-
return '\nHello Cloud Community!\nI have been seen %s times.\nMy Host name is %s\n\n' % (redis.get('hits') ,host)
12+
return '\nHello World!\nI have been seen %s times.\nMy Host name is %s\n\n' % (redis.get('hits') ,host)
1313

1414
if __name__ == "__main__":
1515
app.run(host="0.0.0.0", debug=True)

0 commit comments

Comments
 (0)