flask config edited
This commit is contained in:
parent
91cc993841
commit
368bd1ae9d
1 changed files with 2 additions and 1 deletions
|
|
@ -6,7 +6,8 @@ app = Flask(__name__)
|
||||||
|
|
||||||
@app.route("/")
|
@app.route("/")
|
||||||
def index():
|
def index():
|
||||||
return "TEMPLATE"
|
return "with Flask"
|
||||||
|
return render_template("/var/www/html/index.html")
|
||||||
|
|
||||||
|
|
||||||
app.run(host="0.0.0.0", port=5000)
|
app.run(host="0.0.0.0", port=5000)
|
||||||
Loading…
Add table
Add a link
Reference in a new issue