Skip to content

Commit 9fff1e1

Browse files
authored
fix: update path for lib/auth to match the rest of the code
1 parent 9aea369 commit 9fff1e1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/800-guides/230-betterauth-nextjs.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -351,7 +351,7 @@ touch "src/app/api/auth/[...all]/route.ts"
351351
Add the following code to the newly created `route.ts` file. This code uses a helper from Better Auth to create Next.js-compatible `GET` and `POST` request handlers.
352352

353353
```ts
354-
import { auth } from "@/lib/auth";
354+
import { auth } from "@/src/lib/auth";
355355
import { toNextJsHandler } from "better-auth/next-js";
356356

357357
export const { POST, GET } = toNextJsHandler(auth);

0 commit comments

Comments
 (0)