fix: force dynamic

This commit is contained in:
Benno Tielen 2025-09-03 14:56:38 +02:00
parent efb676a8b0
commit 46b46c77c9

View file

@ -9,6 +9,8 @@ import { fetchLastMagazine } from '@/fetch/magazine'
import { Button } from '@/components/Button/Button' import { Button } from '@/components/Button/Button'
import { P } from '@/components/Text/Paragraph' import { P } from '@/components/Text/Paragraph'
export const dynamic = 'force-dynamic'
export default async function MagazinePage() { export default async function MagazinePage() {
const magazine = await fetchLastMagazine(); const magazine = await fetchLastMagazine();
const magazine_url = magazine && typeof magazine.document === "object" ? magazine.document.url || undefined : undefined; const magazine_url = magazine && typeof magazine.document === "object" ? magazine.document.url || undefined : undefined;