feat: Quart app factory with health endpoint

This commit is contained in:
2026-03-17 18:55:15 -04:00
parent ff8489f758
commit 5c25953929
9 changed files with 161 additions and 0 deletions
+11
View File
@@ -0,0 +1,11 @@
from quart import Blueprint, render_template
from fablednetmon.auth.middleware import require_role
from fablednetmon.models.users import UserRole
dashboard_bp = Blueprint("dashboard", __name__)
@dashboard_bp.get("/")
@require_role(UserRole.viewer)
async def index():
return await render_template("dashboard/index.html")