Skip to content

Commit dd08af0

Browse files
committed
fix(whitelabel): force dynamic rendering for manifest.ts
Without this, NEXT_PUBLIC_BRAND_* values are baked into the manifest at build time. Pairs with the next-runtime-env removal in the prior commit, restoring Docker runtime injection for whitelabel deployments.
1 parent 60d540b commit dd08af0

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

apps/sim/app/manifest.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
import type { MetadataRoute } from 'next'
22
import { getBrandConfig } from '@/ee/whitelabeling'
33

4+
/** Opt out of static prerendering so `NEXT_PUBLIC_BRAND_*` is read from
5+
* the live runtime environment (e.g. Docker-injected) rather than baked at build. */
6+
export const dynamic = 'force-dynamic'
7+
48
export default function manifest(): MetadataRoute.Manifest {
59
const brand = getBrandConfig()
610

0 commit comments

Comments
 (0)