Files
polar/example/convex/http.ts
Shawn Erquhart 2d67f648eb wip
2025-02-21 10:02:14 -05:00

12 lines
242 B
TypeScript

import { httpRouter } from "convex/server";
import { polar } from "./example";
const http = httpRouter();
polar.registerRoutes(http, {
// Optional custom path, default is "/events/polar"
path: "/events/polar",
});
export default http;