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.

convert all marketing pages to edge runtime

Steven Teyf9db636d9356
diff --git a/app/dub.sh/layout.tsx b/app/dub.sh/layout.tsx
index 5d0dba3dc7..11fa4ac670 100644
--- a/app/dub.sh/layout.tsx
+++ b/app/dub.sh/layout.tsx
@@ -4,6 +4,8 @@ import Footer from "#/ui/home/footer";
import Background from "#/ui/home/background";
import MobileNav from "#/ui/home/nav-mobile";
+export const runtime = "edge";
+
export default function MarketingLayout(props) {
return (
<MarketingProviders modal={props.modal}>
diff --git a/app/dub.sh/page.tsx b/app/dub.sh/page.tsx
index 8a06370686..04eab32b48 100644
--- a/app/dub.sh/page.tsx
+++ b/app/dub.sh/page.tsx
@@ -8,8 +8,6 @@ import OSS from "#/ui/home/oss";
import Testimonials from "#/ui/home/testimonials";
import Changelog from "#/ui/home/changelog";
-export const runtime = "edge";
-
export default function Home() {
return (
<>