The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
make [domain] edge runtime
Steven Tey75969dabeb36
diff --git a/apps/web/app/[domain]/page.tsx b/apps/web/app/[domain]/page.tsxindex 452bdb612e..d6ecb4046a 100644--- a/apps/web/app/[domain]/page.tsx+++ b/apps/web/app/[domain]/page.tsx@@ -1,11 +1,9 @@import { constructMetadata } from "@dub/utils";import PlaceholderContent from "./placeholder";-export async function generateMetadata({- params,-}: {- params: { domain: string };-}) {+export const runtime = "edge";++export function generateMetadata({ params }: { params: { domain: string } }) {const title = `${params.domain.toUpperCase()} - A ${process.env.NEXT_PUBLIC_APP_NAME} Custom Domain`;