Structure change
This commit is contained in:
parent
d3be1e2984
commit
bb63929a1e
30 changed files with 9 additions and 358 deletions
|
|
@ -1,12 +1,14 @@
|
|||
#!/bin/python3
|
||||
|
||||
from flask import Flask, render_template
|
||||
import getpass
|
||||
|
||||
app = Flask(__name__, static_folder="static")
|
||||
app = Flask(__name__)
|
||||
|
||||
@app.route("/")
|
||||
def index():
|
||||
return render_template("index.html")
|
||||
user=getpass.getuser()
|
||||
return render_template("index.html", user=user)
|
||||
|
||||
|
||||
app.run(host="127.0.0.1", port=5000)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue