diff options
| author | Fuwn <[email protected]> | 2026-02-08 07:30:20 -0800 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2026-02-08 07:30:20 -0800 |
| commit | 77b541b358896f077de771f692a2cea48492c296 (patch) | |
| tree | 20d994a545601b628cf0635c6b5fbef4378d3fce /apps/web/package.json | |
| parent | feat: add support email to account settings (diff) | |
| download | asa.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.json | 1 |
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", |