diff --git a/next.config.js b/next.config.js index 4c4ed62..42f7609 100644 --- a/next.config.js +++ b/next.config.js @@ -6,7 +6,7 @@ import "./src/env.js"; /** @type {import("next").NextConfig} */ const config = { - reactCompiler: false, + reactCompiler: true, serverExternalPackages: ["pg", "better-auth"], }; diff --git a/src/app/page.tsx b/src/app/page.tsx index 4972076..fc5b352 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -6,6 +6,8 @@ import { Button } from "~/components/ui/button"; import { env } from "~/env"; import { brand } from "~/lib/branding"; +export const dynamic = "force-dynamic"; + export default function HomePage() { const allowRegistration = env.DISABLE_SIGNUPS !== true;