freddyaboulton HF Staff commited on
Commit
4a4584d
·
verified ·
1 Parent(s): 6e5e21d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -50,7 +50,7 @@ async def lifespan(app: FastAPI):
50
  app = FastAPI(lifespan=lifespan)
51
  @app.get("/mcp/.well-known/oauth-protected-resource")
52
  async def _():
53
- return RedirectResponse(".well-known/oauth-protected-resource")
54
 
55
  app.mount("/", mcp.streamable_http_app())
56
 
 
50
  app = FastAPI(lifespan=lifespan)
51
  @app.get("/mcp/.well-known/oauth-protected-resource")
52
  async def _():
53
+ return RedirectResponse("/.well-known/oauth-protected-resource")
54
 
55
  app.mount("/", mcp.streamable_http_app())
56