The server api route described in this example is it server/api/[...auth].ts and thus effectively captures all routes including /api/auth which are the only ones relevant to better-auth. While its still functional, I'd argue is technically incorrect and can be confusing for beginners with nuxt and nitro. Notably, the better auth example uses server/api/auth/[...all].ts
The server api route described in this example is it
server/api/[...auth].tsand thus effectively captures all routes including/api/authwhich are the only ones relevant to better-auth. While its still functional, I'd argue is technically incorrect and can be confusing for beginners with nuxt and nitro. Notably, the better auth example usesserver/api/auth/[...all].ts