1
0
Fork 0
mirror of synced 2024-07-06 15:00:49 +12:00

Merge pull request #13172 from Budibase/fix/branding-title-bug

Ensure title value is passed to client app
This commit is contained in:
Peter Clement 2024-03-01 16:19:11 +00:00 committed by GitHub
commit 33f03f91f3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -170,6 +170,7 @@ export const serveApp = async function (ctx: Ctx) {
if (!env.isJest()) {
const plugins = objectStore.enrichPluginURLs(appInfo.usedPlugins)
const { head, html, css } = AppComponent.render({
title: branding?.platformTitle || `${appInfo.name}`,
metaImage:
branding?.metaImageUrl ||
"https://res.cloudinary.com/daog6scxm/image/upload/v1698759482/meta-images/plain-branded-meta-image-coral_ocxmgu.png",