feat: Add export const dynamic = "force-dynamic" to all main pages to ensure dynamic rendering.

This commit is contained in:
Moh Dzulfikri Maulana
2026-03-09 05:52:31 +07:00
parent e25416f3db
commit 5b45c32109
9 changed files with 18 additions and 0 deletions

View File

@@ -12,6 +12,8 @@ import {
} from "lucide-react";
import { cn } from "@/lib/utils";
export const dynamic = "force-dynamic";
async function getStats() {
const [totalVisitors, totalPageViews, recentSessions] = await Promise.all([
prisma.session.count(),