Files
convex-example/convex/http.ts

9 lines
152 B
TypeScript

import { httpRouter } from 'convex/server';
import { auth } from './auth';
const http = httpRouter();
auth.addHttpRoutes(http);
export default http;