From cfff84306af66deedfdc9248300919b3ddd9a7f0 Mon Sep 17 00:00:00 2001 From: superafun Date: Mon, 27 Jul 2026 23:23:54 +0800 Subject: [PATCH] fix: use absolute URLs for the PWA manifest icon sources (#6032) --- frontend/public/index.html | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/frontend/public/index.html b/frontend/public/index.html index dc59f230..cc968bab 100644 --- a/frontend/public/index.html +++ b/frontend/public/index.html @@ -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", },