tianruci commited on
Commit
ba4310a
·
verified ·
1 Parent(s): 235f5b6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -63,7 +63,9 @@ def get_trending_repos(num: int = 10) -> dict:
63
  fetch_github_trending()
64
  return {"trending": cached_trending[:num]}
65
 
66
- app.mount("/mcp", mcp_server.sse_app)
 
 
67
  async def trending_generator():
68
  """SSE 事件生成器"""
69
  while True:
 
63
  fetch_github_trending()
64
  return {"trending": cached_trending[:num]}
65
 
66
+ #app.mount("/mcp", mcp_server.sse_app)
67
+ app.mount("/", mcp_server.sse_app)
68
+
69
  async def trending_generator():
70
  """SSE 事件生成器"""
71
  while True: