There was an error while loading. Please reload this page.
1 parent b9f5c2f commit 319d8dfCopy full SHA for 319d8df
1 file changed
packages/hub-ui/src/index.ts
@@ -63,10 +63,6 @@ export function createUi(options: CreateUiOptions = {}): DevframeHubUi {
63
...(options.embedded !== false
64
? { embedded: { entry: join(client, 'embedded.js') } }
65
: {}),
66
- ...(options.branding
67
- // Serialized once and served from memory at `<base>branding.json` by the
68
- // hub's generic `assets` seam — no build step, no files written.
69
- ? { assets: { 'branding.json': () => JSON.stringify(options.branding) } }
70
- : {}),
+ assets: { 'branding.json': () => JSON.stringify(options.branding || {}) },
71
}
72
0 commit comments