From 1dddc6cd7e28e2d9d8f8eadab1a80bc57a7db250 Mon Sep 17 00:00:00 2001 From: Kiet Ho Date: Fri, 13 Feb 2026 12:47:03 -0800 Subject: [PATCH] fix(docs): remove unused billing env vars that break search API SLACK_BILLING_WEBHOOK_URL was required (non-optional) in the docs env config but never set in the Vercel deployment. This caused the Sentry instrumentation hook to crash on startup, making all server-rendered routes (including /api/search) return 500. Removed all billing-related env vars (Stripe, Slack webhook) since they were copy-pasted from the web app and unused in the docs site. --- apps/docs/src/env.ts | 5 ----- 1 file changed, 5 deletions(-) diff --git a/apps/docs/src/env.ts b/apps/docs/src/env.ts index 8d77771cccd..0343e017bba 100644 --- a/apps/docs/src/env.ts +++ b/apps/docs/src/env.ts @@ -11,11 +11,6 @@ export const env = createEnv({ }, server: { - STRIPE_SECRET_KEY: z.string().optional(), - STRIPE_WEBHOOK_SECRET: z.string().optional(), - STRIPE_PRO_MONTHLY_PRICE_ID: z.string().optional(), - STRIPE_PRO_YEARLY_PRICE_ID: z.string().optional(), - SLACK_BILLING_WEBHOOK_URL: z.string().url(), SENTRY_AUTH_TOKEN: z.string().optional(), },