The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
add redirect from old domains page
Steven Tey572dc1522a30
diff --git a/apps/web/app/app.dub.co/(redirects)/[slug]/domains/page.tsx b/apps/web/app/app.dub.co/(redirects)/[slug]/domains/page.tsxnew file mode 100644index 0000000000..e2c5a704f0--- /dev/null+++ b/apps/web/app/app.dub.co/(redirects)/[slug]/domains/page.tsx@@ -0,0 +1,11 @@+import { redirect } from "next/navigation";++export default async function OldDomainsPage({+ params,+}: {+ params: {+ slug: string;+ };+}) {+ redirect(`/${params.slug}/settings/domains`);+}