MCPcopy Create free account
hub / github.com/LangGraph-GUI/LangGraph-GUI-backend / catch_all

Function catch_all

src/main.py:105–107  ·  view source on GitHub ↗
(request: Request, anypath: str)

Source from the content-addressed store, hash-verified

103# Catch-all route for unmatched GET requests
104@app.api_route("/{anypath:path}", methods=["GET"])
105async def catch_all(request: Request, anypath: str):
106 print(f"Unmatched GET request: {anypath}")
107 return JSONResponse(content={"message": f"Route {anypath} not found"}, status_code=404)
108
109
110# Run the app using Uvicorn

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected