Skip to content

armgit / dub

Public Imported from GitHub
0

The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.

RewritePage → CloakedPage

Steven Teya6c56dece458
diff --git a/apps/web/app/cloaked/[url]/page.tsx b/apps/web/app/cloaked/[url]/page.tsx
index 409d7b6dc4..35aac55734 100644
--- a/apps/web/app/cloaked/[url]/page.tsx
+++ b/apps/web/app/cloaked/[url]/page.tsx
@@ -28,11 +28,7 @@ export async function generateMetadata({
});
}
-export default async function RewritePage({
- params,
-}: {
- params: { url: string };
-}) {
+export default function CloakedPage({ params }: { params: { url: string } }) {
const url = decodeURIComponent(params.url);
return <iframe src={url} className="min-h-screen w-full border-none" />;