Files
webdev-pipeline/convex/http.ts

10 lines
207 B
TypeScript

import { httpRouter } from "convex/server";
import { authComponent, createAuth } from "./betterAuth/auth";
const http = httpRouter();
authComponent.registerRoutes(http, createAuth);
export default http;