feat: Add export const dynamic = "force-dynamic" to all main pages to ensure dynamic rendering.
This commit is contained in:
@@ -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(),
|
||||
|
||||
Reference in New Issue
Block a user