From 316c2fef677f9f43f5a79eba8f374b42da7c0f77 Mon Sep 17 00:00:00 2001 From: zcr Date: Fri, 13 Mar 2026 11:22:12 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20fix:=20=E5=88=A0=E9=99=A4=E8=AE=A1?= =?UTF-8?q?=E6=95=B0=E4=B8=AD=E9=97=B4=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/main.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/main.py b/app/main.py index e1c6f95..e88321b 100644 --- a/app/main.py +++ b/app/main.py @@ -16,7 +16,7 @@ from fastapi.responses import JSONResponse from app.api.api_route import router from app.core.config import settings -from app.core.record_api_count import count_api_calls +# from app.core.record_api_count import count_api_calls from app.schemas.response_template import ResponseModel from logging_env import LOGGER_CONFIG_DICT from dotenv import load_dotenv @@ -48,7 +48,7 @@ def get_application() -> FastAPI: allow_methods=["*"], allow_headers=["*"], ) - application.middleware("http")(count_api_calls) + # application.middleware("http")(count_api_calls) application.include_router(router=router) return application