Update hello.py
This commit is contained in:
parent
38993e2135
commit
7f8e3e2a50
|
@ -11,6 +11,10 @@ app = Flask(__name__)
|
||||||
def hello():
|
def hello():
|
||||||
return "<h1 style='color:blue'>Hello There!</h1>"
|
return "<h1 style='color:blue'>Hello There!</h1>"
|
||||||
|
|
||||||
|
@app.route("/about/")
|
||||||
|
def about():
|
||||||
|
return "This is a simple Flask Python application"
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
app.debug = True
|
app.debug = True
|
||||||
app.run(host='0.0.0.0')
|
app.run(host='0.0.0.0')
|
||||||
|
|
Loading…
Reference in a new issue