"""Server-rendered shell. All data comes from /api/v1 (ยง9).""" from __future__ import annotations from flask import Blueprint, current_app, render_template bp = Blueprint("web", __name__) @bp.get("/") def index(): cfg = current_app.extensions["mediashelf"]["config"] return render_template("index.html", tz=cfg.tz)