fix(frontend): make stats pages dynamic

This commit is contained in:
2025-08-07 00:07:22 +01:00
parent 9f412516b7
commit b4e23cc641
3 changed files with 7 additions and 0 deletions

View File

@@ -1,6 +1,9 @@
import Link from "next/link";
import { getStats } from "@/lib/api";
// Fetch fresh stats on each request
export const dynamic = "force-dynamic";
export default async function HomePage() {
let stats;
try {