summaryrefslogtreecommitdiff
path: root/apps/web/package.json
diff options
context:
space:
mode:
authorFuwn <[email protected]>2026-02-08 07:30:20 -0800
committerFuwn <[email protected]>2026-02-08 07:30:20 -0800
commit77b541b358896f077de771f692a2cea48492c296 (patch)
tree20d994a545601b628cf0635c6b5fbef4378d3fce /apps/web/package.json
parentfeat: add support email to account settings (diff)
downloadasa.news-77b541b358896f077de771f692a2cea48492c296.tar.xz
asa.news-77b541b358896f077de771f692a2cea48492c296.zip
feat: add Vercel BotID protection and fix billing origin fallback
Set up BotID bot detection on sensitive API routes (share, billing, account, webhook-config). Adds client instrumentation, server-side checkBotId() guards, and withBotId next config wrapper. Also fix checkout/portal session routes to fall back to request origin when NEXT_PUBLIC_APP_URL is not set, and center SVG icon properly.
Diffstat (limited to 'apps/web/package.json')
-rw-r--r--apps/web/package.json1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/web/package.json b/apps/web/package.json
index 31a0a1f..d7a5f42 100644
--- a/apps/web/package.json
+++ b/apps/web/package.json
@@ -15,6 +15,7 @@
"@supabase/supabase-js": "^2.95.2",
"@tanstack/react-query": "^5.90.20",
"@tanstack/react-virtual": "^3.13.18",
+ "botid": "^1.5.10",
"clsx": "^2.1.1",
"cmdk": "^1.1.1",
"date-fns": "^4.1.0",