From 6598ac3362c6d2c7690289c6374bce06c943418a Mon Sep 17 00:00:00 2001 From: Animation-EdNum <256293561+Animation-EdNum@users.noreply.github.com> Date: Tue, 5 May 2026 22:20:35 +0000 Subject: [PATCH] fix(pwa): Add missing toast.js and alpha webapps to sw.js ASSETS - Added `./assets/js/toast.js` to the pre-cache list in `sw.js` to ensure apps relying on it function offline. - Added a new `// Alpha Webapps` section in `sw.js` and included all 6 alpha webapps to enable offline usage. Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com> --- sw.js | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/sw.js b/sw.js index 7f9eff1..457ef51 100644 --- a/sw.js +++ b/sw.js @@ -17,11 +17,20 @@ const ASSETS = [ './assets/js/scores.js', './assets/js/swipe.js', './assets/js/theme.js', + './assets/js/toast.js', // Fonts './assets/fonts/jetbrains-mono.woff2', './assets/fonts/outfit.woff2', + // Alpha Webapps + './alpha/webapps/jeu_de_la_grue.html', + './alpha/webapps/machine_a_chiffrer.html', + './alpha/webapps/machine_a_trier.html', + './alpha/webapps/pixel_studio_rvb.html', + './alpha/webapps/pixels_binaires.html', + './alpha/webapps/reseau_de_tri.html', + // Webapps './webapps/binaire_codage.html', './webapps/binaire_message.html',