From c4bf4a24ab5dc4e5d20f19558d280fa8c867fbd1 Mon Sep 17 00:00:00 2001 From: Dave Date: Thu, 3 Sep 2026 17:54:48 +0200 Subject: [PATCH] chore(pos): cache epos-print.js in the PWA app shell --- public/pos/sw.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/public/pos/sw.js b/public/pos/sw.js index f0227f2..26e3a43 100644 --- a/public/pos/sw.js +++ b/public/pos/sw.js @@ -1,5 +1,5 @@ // Service worker — cache app shell, network-first for HTML + theme.js, cache-first for other static. -const CACHE = "pos-v15"; +const CACHE = "pos-v16"; const APP_SHELL = [ './', './index.html', @@ -9,6 +9,7 @@ const APP_SHELL = [ './cashup.html', './pos-config.js', './pos-app.js', + './epos-print.js', './theme.js', './manifest.json', // Font Awesome 6 Free (solid) — bundled so the till still renders icons offline.