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" },
],
})
|