The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
fix: cloaked link page error handling and caching (#3620)
John Pham9b71653712f7
diff --git a/apps/web/app/cloaked/[url]/page.tsx b/apps/web/app/cloaked/[url]/page.tsxindex 6aedb5b73d..59446e5c16 100644--- a/apps/web/app/cloaked/[url]/page.tsx+++ b/apps/web/app/cloaked/[url]/page.tsx@@ -5,9 +5,6 @@ import {} from "@dub/utils";import { getMetaTags } from "app/api/links/metatags/utils";-export const runtime = "edge";-export const fetchCache = "force-no-store";-export async function generateMetadata(props: {params: Promise<{ url: string }>;}) {@@ -15,7 +12,6 @@ export async function generateMetadata(props: {const url = decodeURIComponent(params.url); // key can potentially be encodedconst metatags = await getMetaTags(url);-const apexDomain = getApexDomain(url);return constructMetadata({