middle json

This commit is contained in:
CHIEFSOFT\ameye
2025-08-27 19:06:58 -04:00
parent 95f4903647
commit 9c75cb3561
+4 -4
View File
@@ -30,10 +30,10 @@ import requests
api = Blueprint("api", __name__)
@api.before_request
def cors_middleware():
"""Middleware applied globally to all API routes in this blueprint"""
return enforce_json()
# @api.before_request
# def cors_middleware():
# """Middleware applied globally to all API routes in this blueprint"""
# return enforce_json()
# Swagger JSON file
@api.route("/swagger.json", methods=["GET"])