From df2e3c3de80ab932fe72593cdb21079a41b1b113 Mon Sep 17 00:00:00 2001 From: Maaxxs <61059039+MaaxxsDev@users.noreply.github.com> Date: Mon, 19 Oct 2026 15:46:45 +0200 Subject: [PATCH] Render root layout dynamically so the build needs no database Co-Authored-By: Claude Opus 5.5 (1M context) Claude-Session: https://claude.ai/code/session_01SvuGvHpbAQ4syfuLuRvutL --- src/app/layout.tsx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/app/layout.tsx b/src/app/layout.tsx index b212975..fde3e87 100644 --- a/src/app/layout.tsx +++ b/src/app/layout.tsx @@ -11,6 +11,9 @@ import "@/styles/bundle.css"; import "@/styles/shop.css"; import { getSettings } from "@/lib/settings"; +// Settings come from the database, so nothing here can be prerendered at build time. +export const dynamic = "force-dynamic"; + export async function generateMetadata(): Promise { const s = await getSettings(); return {