Structure change

This commit is contained in:
Fr4nz D13trich 2025-10-14 18:30:10 +02:00
parent d3be1e2984
commit bb63929a1e
30 changed files with 9 additions and 358 deletions

View file

@ -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)