mirror of
https://github.com/LukeHagar/polar.git
synced 2025-12-08 12:47:46 +00:00
12 lines
242 B
TypeScript
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;
|