docs: use instead of for nuxt examples

This commit is contained in:
Bereket Engida
2025-04-29 13:02:36 -07:00
parent 926e580161
commit bf83774db3
+1 -1
View File
@@ -10,7 +10,7 @@ Before you start, make sure you have a Better Auth instance configured. If you h
We need to mount the handler to an API route. Create a file inside `/server/api` called `[...auth].ts` and add the following code:
```ts title="server/api/[...auth].ts"
import { auth } from "~/utils/auth"; // import your auth config
import { auth } from "~/lib/auth"; // import your auth config
export default defineEventHandler((event) => {
return auth.handler(toWebRequest(event));