mirror of
https://github.com/kennethnym/aris.git
synced 2026-06-14 19:41:18 +01:00
8 lines
216 B
TypeScript
8 lines
216 B
TypeScript
import type { Hono } from "hono"
|
|
|
|
import type { Auth } from "./index.ts"
|
|
|
|
export function registerAuthHandlers(app: Hono, auth: Auth): void {
|
|
app.on(["POST", "GET"], "/api/auth/*", (c) => auth.handler(c.req.raw))
|
|
}
|