flask config edited

This commit is contained in:
Fr4nz D13trich 2025-10-12 18:44:48 +02:00
parent 91cc993841
commit 368bd1ae9d

View file

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