feat: Refactor blueprints to make them easier to import
All checks were successful
Build Docker / BuildImage (push) Successful in 47s

This commit is contained in:
2025-10-30 18:22:21 +11:00
parent 4c654fcb78
commit 03dae87272
11 changed files with 62 additions and 71 deletions

View File

@@ -1,9 +1,9 @@
from flask import Blueprint, request
from tools import json_response
template_bp = Blueprint('template', __name__)
app = Blueprint('template', __name__)
@template_bp.route("/")
@app.route("/")
def index():
return json_response(request, "Success", 200)