cal.pub0.org/apps/web/pages/api/collect-events.ts

10 lines
263 B
TypeScript

import { nextEventsCollectApi } from "next-collect/server";
import { extendEventData, nextCollectBasicSettings } from "@lib/telemetry";
export default nextEventsCollectApi({
...nextCollectBasicSettings,
cookieName: "__clnds",
extend: extendEventData,
});