summaryrefslogtreecommitdiff
path: root/apps/web/instrumentation-client.ts
blob: fe639792c954b23732d5c49ec7c27de6c0eadd92 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
import { initBotId } from "botid/client/core"

initBotId({
  protect: [
    { path: "/api/share", method: "POST" },
    { path: "/api/share/*", method: "DELETE" },
    { path: "/api/share/*", method: "PATCH" },
    { path: "/api/billing/create-checkout-session", method: "POST" },
    { path: "/api/billing/create-portal-session", method: "POST" },
    { path: "/api/account", method: "DELETE" },
    { path: "/api/webhook-config", method: "PUT" },
    { path: "/api/webhook-config/test", method: "POST" },
  ],
})