Skip to content

Rallly is an open-source scheduling and collaboration tool designed to make organizing events and meetings easier.

291 B
Raw Blame
import { toNextJsHandler } from "better-auth/next-js";
import { authLib } from "@/lib/auth";
import { withPostHog } from "@/lib/posthog";

const { POST: authPost, GET: authGet } = toNextJsHandler(authLib);

export const POST = withPostHog(authPost);
export const GET = withPostHog(authGet);