The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
fix install url
Steven Tey1274968b2e75
diff --git a/apps/web/lib/integrations/stripe/install.ts b/apps/web/lib/integrations/stripe/install.tsindex 1b23d8ef81..7b2cf11a8c 100644--- a/apps/web/lib/integrations/stripe/install.ts+++ b/apps/web/lib/integrations/stripe/install.ts@@ -25,7 +25,9 @@ export const getStripeInstallationUrl = async (workspaceId: string) => {// const { STRIPE_APP_INSTALL_URL } = env.data;const STRIPE_APP_INSTALL_URL = (await get("stripeAppUrl"))![- process.env.NODE_ENV === "production" ? "production" : "development"+ process.env.NEXT_PUBLIC_VERCEL_ENV === "production"+ ? "production"+ : "development"];const url = new URL(STRIPE_APP_INSTALL_URL);