fix(frontend): force-dynamic on marketing layout to skip SSG at build time
This commit is contained in:
@@ -5,6 +5,10 @@ import { Cannabis } from "lucide-react"
|
|||||||
|
|
||||||
import type { ReactNode } from "react"
|
import type { ReactNode } from "react"
|
||||||
|
|
||||||
|
// Force dynamic rendering — prevents NextAuth from being called at build time
|
||||||
|
// (AUTH_URL is not available during Docker image build)
|
||||||
|
export const dynamic = "force-dynamic"
|
||||||
|
|
||||||
export default async function MarketingLayout({
|
export default async function MarketingLayout({
|
||||||
children,
|
children,
|
||||||
}: {
|
}: {
|
||||||
|
|||||||
Reference in New Issue
Block a user