Skip to content

Commit 40b1879

Browse files
authored
a (#39)
* Fix dropdown option contrast in native menus Set explicit option and optgroup colors so dropdown items remain readable in light native popups while keeping dark themed select controls. * Fix manifest syntax and stale cache handling Simplify the web manifest to a strict, minimal valid payload and add an app id. Bump service worker cache version and only cache successful network responses to prevent stale HTML/error responses from breaking manifest parsing. * Prevent manifest challenge pages from polluting SW cache Exclude manifest requests from service worker handling, remove manifest from app-shell precache, and avoid caching HTML for non-document requests. Bump cache version to flush previously cached bad responses. * Update service-worker.js
1 parent f3755bf commit 40b1879

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

celstomp/service-worker.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
const CACHE_VERSION = "celstomp-v7";
1+
const CACHE_VERSION = "celstomp-v8";
22

3-
const APP_SHELL = [ "./", "./index.html", "./celstomp-styles.css", "./celstomp-imgseq.js", "./celstomp-autosave.js", "./celstomp-app.js", "./icons/favicon.ico" ];
3+
const APP_SHELL = [ "./", "./index.html", "./css/main.css", "./celstomp-imgseq.js", "./celstomp-autosave.js", "./celstomp-app.js", "./icons/favicon.ico" ];
44

55
self.addEventListener("install", event => {
66
event.waitUntil(caches.open(CACHE_VERSION).then(async c => {

0 commit comments

Comments
 (0)