From 9c75cb35610d1799008f5a90a52d67ff02cc9ff3 Mon Sep 17 00:00:00 2001 From: "CHIEFSOFT\\ameye" Date: Wed, 27 Aug 2025 19:06:58 -0400 Subject: [PATCH] middle json --- app/api/routes/routes.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app/api/routes/routes.py b/app/api/routes/routes.py index d4724a8..32ed910 100644 --- a/app/api/routes/routes.py +++ b/app/api/routes/routes.py @@ -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"])