Update asgi_app.py

This commit is contained in:
saidsurucu
2025-07-09 19:15:19 +03:00
parent c059ec30a7
commit d77781709a
+2 -2
View File
@@ -87,8 +87,8 @@ app = FastAPI(
# Add Stripe webhook router to FastAPI
app.include_router(stripe_router, prefix="/api")
# Add MCP Auth HTTP adapter to FastAPI (replaces old OAuth router)
app.include_router(mcp_auth_router)
# Add MCP Auth HTTP adapter to FastAPI under /mcp prefix (replaces old OAuth router)
app.include_router(mcp_auth_router, prefix="/mcp")
# Custom 401 exception handler for MCP spec compliance
@app.exception_handler(401)