8 lines
195 B
TypeScript
8 lines
195 B
TypeScript
import { httpRouter } from 'convex/server';
|
|
import { authComponent, createAuth } from './auth';
|
|
|
|
const http = httpRouter();
|
|
|
|
authComponent.registerRoutes(http, createAuth);
|
|
|
|
export default http;
|