fix: make impressum page dynamic so it reads volume settings at runtime instead of statically compiling to 404
This commit is contained in:
@@ -14,6 +14,8 @@ export const metadata: Metadata = {
|
|||||||
robots: { index: false, follow: true }, // Usually no need to index legal pages
|
robots: { index: false, follow: true }, // Usually no need to index legal pages
|
||||||
};
|
};
|
||||||
|
|
||||||
|
export const dynamic = 'force-dynamic';
|
||||||
|
|
||||||
export default function ImpressumPage() {
|
export default function ImpressumPage() {
|
||||||
const { legal } = getConfig();
|
const { legal } = getConfig();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user