mirror of
https://github.com/LukeHagar/better-auth.git
synced 2025-12-10 20:37:46 +00:00
6 lines
130 B
TypeScript
6 lines
130 B
TypeScript
import { auth } from "~/lib/auth";
|
|
|
|
export default defineEventHandler((event) => {
|
|
return auth.handler(toWebRequest(event));
|
|
});
|