docs: update SolidStart auth handler file path (#8470)

This commit is contained in:
Zeljko Vranjes
2026-03-11 10:29:56 -07:00
committed by Alex Yang
parent 497b1db8d8
commit 90597e0aa5
@@ -7,9 +7,9 @@ Before you start, make sure you have a Better Auth instance configured. If you h
### Mount the handler
We need to mount the handler to SolidStart server. Put the following code in your `*auth.ts` file inside `/routes/api/auth` folder.
We need to mount the handler to SolidStart server. Put the following code in your `[...auth].ts` file inside `/routes/api/auth` folder.
```ts title="*auth.ts"
```ts title="[...auth].ts"
import { auth } from "~/lib/auth";
import { toSolidStartHandler } from "better-auth/solid-start";