mirror of
https://github.com/StefBuwalda/dashboard_test.git
synced 2025-10-30 11:19:58 +00:00
MAJOR REFACTOR P4 FINAL
This commit is contained in:
@@ -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():
|
||||
|
||||
Reference in New Issue
Block a user