Use database branding for PWA manifest
This commit is contained in:
1 parent
0231c468a4
commit
ea76ef29ba
4 files changed
+36
No files matched your search
@@ -17,4 +17,5 @@ export async function refreshBranding() {
|
||||
if (!response.ok) throw new Error('Unable to load branding')
|
||||
Object.assign(branding, await response.json() as AppBranding)
|
||||
document.title = branding.productName
|
||||
document.querySelector('meta[name="description"]')?.setAttribute('content', branding.description)
|
||||
}
|
||||
Reference in new issue
Block a user