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.

make redirects layout group edge runtime

Steven Teyd350ff5a0651
diff --git a/apps/web/app/app.dub.co/(redirects)/layout.tsx b/apps/web/app/app.dub.co/(redirects)/layout.tsx
new file mode 100644
index 0000000000..af8ea32654
--- /dev/null
+++ b/apps/web/app/app.dub.co/(redirects)/layout.tsx
@@ -0,0 +1,7 @@
+import { ReactNode } from "react";
+
+export const runtime = "edge";
+
+export default function RedirectsLayout({ children }: { children: ReactNode }) {
+ return <>{children}</>;
+}