now!
Some checks failed
Deploy Website / deploy (push) Has been cancelled

This commit is contained in:
Lee 2024-10-16 02:35:17 +01:00
parent 9355f53ee5
commit 013d866391

@ -5,6 +5,8 @@ import { config } from "../../../config";
import { AppStatistics } from "@ssr/common/types/backend/app-statistics"; import { AppStatistics } from "@ssr/common/types/backend/app-statistics";
import Statistic from "@/components/home/statistic"; import Statistic from "@/components/home/statistic";
export const dynamic = "force-dynamic"; // Always generate the page on load
export default async function HomePage() { export default async function HomePage() {
const statistics = await ky.get(config.siteApi + "/statistics").json<AppStatistics>(); const statistics = await ky.get(config.siteApi + "/statistics").json<AppStatistics>();