From e73964a971250ed2079488cde500db71c10ffdd4 Mon Sep 17 00:00:00 2001 From: nikhildigde <38807100+nikhildigde@users.noreply.github.com> Date: Tue, 24 Jun 2025 05:23:25 +0530 Subject: [PATCH] Update custom_routes.md (#5110) Updated the statement about app.py --- docs/docs/how-tos/http/custom_routes.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/docs/how-tos/http/custom_routes.md b/docs/docs/how-tos/http/custom_routes.md index ea2d4a046..b385a8aa0 100644 --- a/docs/docs/how-tos/http/custom_routes.md +++ b/docs/docs/how-tos/http/custom_routes.md @@ -34,7 +34,7 @@ def read_root(): ## Configure `langgraph.json` -Add the following to your `langgraph.json` configuration file. Make sure the path points to the `app.py` file you created above. +Add the following to your `langgraph.json` configuration file. Make sure the path points to the FastAPI application instance `app` in the `webapp.py` file you created above. ```json { @@ -71,4 +71,4 @@ You can deploy this app as-is to LangGraph Platform or to your self-hosted platf ## Next steps -Now that you've added a custom route to your deployment, you can use this same technique to further customize how your server behaves, such as defining custom [custom middleware](./custom_middleware.md) and [custom lifespan events](./custom_lifespan.md). \ No newline at end of file +Now that you've added a custom route to your deployment, you can use this same technique to further customize how your server behaves, such as defining custom [custom middleware](./custom_middleware.md) and [custom lifespan events](./custom_lifespan.md).