Cleanip init.py, utils.py and decorators.py

This commit is contained in:
2025-04-17 13:59:42 +02:00
parent 3b0bc856e9
commit 235072af97
5 changed files with 22 additions and 8 deletions

4
app.py
View File

@@ -1,11 +1,9 @@
from application import app
from flask import redirect, url_for
from flask_login import login_required # type: ignore
# home route
# home route, place holder in case we want a home page
@app.route("/")
@login_required
def index():
return redirect(url_for("dash.index"))