changes implementing flask
This commit is contained in:
parent
30c4c40494
commit
d3be1e2984
2 changed files with 5 additions and 6 deletions
5
lomes-app.py
Normal file → Executable file
5
lomes-app.py
Normal file → Executable file
|
|
@ -2,12 +2,11 @@
|
|||
|
||||
from flask import Flask, render_template
|
||||
|
||||
app = Flask(__name__)
|
||||
app = Flask(__name__, static_folder="static")
|
||||
|
||||
@app.route("/")
|
||||
def index():
|
||||
#return render_template("index.html")
|
||||
return "TEST"
|
||||
return render_template("index.html")
|
||||
|
||||
|
||||
app.run(host="127.0.0.1", port=5000)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue