Use database branding for PWA manifest

This commit is contained in:
biss committed 2026-11-21 19:50:31 +08:00
1 parent 0231c468a4
commit ea76ef29ba
4 files changed
+36

No files matched your search

+1
View File
@@ -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)
}