MAJOR REFACTOR P4 FINAL

This commit is contained in:
2025-09-05 20:47:11 +02:00
parent e7cf9edde9
commit 89f5c4ef0b
2 changed files with 3 additions and 98 deletions

View File

@@ -6,9 +6,9 @@ from ..models import service, log
from app import app, db
bp = Blueprint(
"api",
"main",
"__name__",
url_prefix="/api",
url_prefix="/",
static_folder="static",
)
@@ -72,7 +72,7 @@ def chart(id: int):
)
@bp.route("/status")
@bp.route("/api/status")
def status():
results: list[dict[str, Any]] = []
with app.app_context():