From bf83774db3a524bdaff49236ff9a0701b2ffba1e Mon Sep 17 00:00:00 2001 From: Bereket Engida Date: Tue, 29 Apr 2025 13:02:36 -0700 Subject: [PATCH] docs: use instead of for nuxt examples --- docs/content/docs/integrations/nuxt.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/content/docs/integrations/nuxt.mdx b/docs/content/docs/integrations/nuxt.mdx index e839c9a6fa..9bc3679bb7 100644 --- a/docs/content/docs/integrations/nuxt.mdx +++ b/docs/content/docs/integrations/nuxt.mdx @@ -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));