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).