Flask config changed
This commit is contained in:
parent
368bd1ae9d
commit
fe011be589
27 changed files with 311 additions and 4 deletions
13
lomes-app.py
Normal file
13
lomes-app.py
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
#!/bin/python3
|
||||
|
||||
from flask import Flask, render_template
|
||||
|
||||
app = Flask(__name__)
|
||||
|
||||
@app.route("/")
|
||||
def index():
|
||||
return "with Flask"
|
||||
return render_template("/var/www/html/index.html")
|
||||
|
||||
|
||||
app.run(host="0.0.0.0", port=5000)
|
||||
Loading…
Add table
Add a link
Reference in a new issue