From 770bc35e87de62fda2068aef4e0949afa62a7005 Mon Sep 17 00:00:00 2001 From: Ionut-Cristian Florescu Date: Mon, 28 Apr 2025 01:46:20 +0300 Subject: [PATCH] Fix api-routes.md docs Looks like the hint on how to change the default API routes prefix is wrong, please see this discussion: https://github.com/TanStack/router/discussions/4060 --- docs/start/framework/react/api-routes.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/start/framework/react/api-routes.md b/docs/start/framework/react/api-routes.md index a1d1dd6d4c5..87032c5bcd7 100644 --- a/docs/start/framework/react/api-routes.md +++ b/docs/start/framework/react/api-routes.md @@ -7,7 +7,7 @@ API Routes are a powerful feature of TanStack Start that allow you to create ser By default, API Routes are defined in your `./app/routes/api` directory of your project and are automatically handled by the TanStack Start server. -> 🧠 This means that by default, your API Routes will be prefixed with `/api` and will be served from the same server as your application. You can customize this base path by changing the `server.apiBaseURL` in your TanStack Start config. +> 🧠 This means that by default, your API Routes will be prefixed with `/api` and will be served from the same server as your application. You can customize this base path by changing the `tsr.apiBase` in your TanStack Start config. ## File Route Conventions