From 38e11ddeebdffba9be27a95a39968f5197e6f20d Mon Sep 17 00:00:00 2001 From: ai-bot Date: Thu, 15 Oct 2026 19:40:48 +0000 Subject: [PATCH] Service worker: cache the two PNG icons with the rest of the shell --- static/sw.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/static/sw.js b/static/sw.js index 7e11054..a264072 100644 --- a/static/sw.js +++ b/static/sw.js @@ -10,7 +10,7 @@ const CACHE_NAME = "vardkey-shell-v1"; -// The shell: the pages, the assets they need, and the manifest and icon the +// The shell: the pages, the assets they need, and the manifest and icons the // browser reads when the app is installed. const SHELL = [ "/", @@ -27,6 +27,8 @@ const SHELL = [ "/history.js", "/manifest.webmanifest", "/icon.svg", + "/icon-192.png", + "/icon-512.png", ]; const SHELL_PATHS = new Set(SHELL);