summaryrefslogtreecommitdiff
path: root/web/flask_proj/old/app.py
blob: 2c3abb8d01afd9e22c1b678e04ac6135c7a744ec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
from flask import Flask, render_template

app = Flask(__name__)


@app.route('/')
@app.route('/home')
def home():
    # return "<h1 style='color: blue;'> hello world! </h1>"
    return render_template('index.html')


if __name__ == '__main__':
    app.run(debug=True, port=5001)