Skip to content

The open-source CapCut alternative

fix: don't cache waitlist count

Maze Winther95f3db8d727f
diff --git a/apps/web/src/app/page.tsx b/apps/web/src/app/page.tsx
index 614aae3a..dcedab32 100644
--- a/apps/web/src/app/page.tsx
+++ b/apps/web/src/app/page.tsx
@@ -2,6 +2,9 @@ import { Hero } from "@/components/landing/hero";
import { Header } from "@/components/header";
import { getWaitlistCount } from "@/lib/waitlist";
+// Force dynamic rendering so waitlist count updates in real-time
+export const dynamic = "force-dynamic";
+
export default async function Home() {
const signupCount = await getWaitlistCount();