The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
small fixes
Steven Teya5b2b0799f2b
diff --git a/.env.production b/.env.productiondeleted file mode 100644index 67166d8cce..0000000000--- a/.env.production+++ /dev/null@@ -1,2 +0,0 @@-NEXT_PUBLIC_VERCEL=${VERCEL}-NEXT_PUBLIC_VERCEL_URL=${VERCEL_URL}\ No newline at end of filediff --git a/pages/api/cron/links.ts b/pages/api/cron/links.tsindex 8f15eb5a64..1e0c4855d2 100644--- a/pages/api/cron/links.ts+++ b/pages/api/cron/links.ts@@ -29,9 +29,8 @@ async function handler(_req: NextApiRequest, res: NextApiResponse) {}const results = await pipeline.exec();const response = await Promise.all(- links.map(({ domain, key, clicks }, index) => {+ links.map(({ domain, key }, index) => {const newClicks = results[index];- console.log(domain, key, clicks, newClicks);return prisma.link.update({where: {domain_key: {