mirror of
https://github.com/better-auth/better-auth.git
synced 2026-10-19 11:24:57 -05:00
docs: restore hono integration page from main
This commit is contained in:
@@ -45,7 +45,7 @@ If you're using another runtime, keep your existing entry point and add the same
|
||||
<Callout type="info">
|
||||
The resulting Hono route must match your Better Auth `basePath`, which
|
||||
defaults to `/api/auth`. If your app already uses `new
|
||||
Hono().basePath("/api")`, mount Better Auth at `/auth/*`:
|
||||
Hono().basePath("/api")`, mount Better Auth at `/auth/*`:
|
||||
|
||||
```ts
|
||||
const app = new Hono().basePath("/api");
|
||||
|
||||
Reference in New Issue
Block a user