From 71096ae67d193b5cd875ddcba7d1393a776f69b1 Mon Sep 17 00:00:00 2001 From: saidsurucu Date: Wed, 9 Jul 2025 19:25:46 +0300 Subject: [PATCH] Update asgi_app.py --- asgi_app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/asgi_app.py b/asgi_app.py index 978da15..a9dbc1d 100644 --- a/asgi_app.py +++ b/asgi_app.py @@ -82,7 +82,7 @@ app = FastAPI( description="MCP server for Turkish legal databases with OAuth authentication", version="0.1.0", middleware=custom_middleware, - lifespan=mcp_app.lifespan, # Only HTTP app lifespan + lifespan=mcp_app.lifespan, # Authentication-enabled MCP app lifespan default_response_class=UTF8JSONResponse # Use UTF-8 JSON encoder )