fix: use absolute URLs for the PWA manifest icon sources (#6032)

This commit is contained in:
superafun authored and GitHub committed 2026-07-27 17:23:54 +02:00
1 parent 72faf6dd3c
commit cfff84306a
1 file changed
+6 -2
+6 -2
View File
@@ -55,12 +55,16 @@
short_name: window.FileBrowser.Name || "File Browser",
icons: [
{
src: window.__prependStaticUrl("/img/icons/android-chrome-192x192.png"),
src:
window.location.origin +
window.__prependStaticUrl("/img/icons/android-chrome-192x192.png"),
sizes: "192x192",
type: "image/png",
},
{
src: window.__prependStaticUrl("/img/icons/android-chrome-512x512.png"),
src:
window.location.origin +
window.__prependStaticUrl("/img/icons/android-chrome-512x512.png"),
sizes: "512x512",
type: "image/png",
},