diff --git a/sw.js b/sw.js index 959b49e..6ca8ad8 100644 --- a/sw.js +++ b/sw.js @@ -5,29 +5,34 @@ const CACHE_NAME = `game-timer-${CACHE_VERSION}`; // Files to cache const CACHE_FILES = [ '/', - '/sw.js', '/index.html', '/manifest.json', - '/css/styles.css', + '/sw.js', '/favicon.ico', + '/config.env.js', + '/css/styles.css', '/icons/android-chrome-192x192.png', '/icons/android-chrome-512x512.png', '/icons/apple-touch-icon.png', '/icons/favicon-32x32.png', '/icons/favicon-16x16.png', + '/images/screenshot1.png', + '/images/screenshot2.png', '/js/app.js', '/js/config.js', '/js/env-loader.js', - '/js/ui/audio.js', - '/js/ui/camera.js', - '/js/ui/ui.js', - '/js/core/state.js', - '/js/core/timer.js', + '/js/core/eventHandlers.js', '/js/core/gameActions.js', '/js/core/playerManager.js', - '/js/core/eventHandlers.js', + '/js/core/state.js', + '/js/core/timer.js', '/js/services/pushFlicIntegration.js', - '/js/services/serviceWorkerManager.js' + '/js/services/screenLockManager.js', + '/js/services/serviceWorkerManager.js', + '/js/ui/audio.js', + '/js/ui/camera.js', + '/js/ui/pushSettingsUI.js', + '/js/ui/ui.js' ]; // Install event - Cache files diff --git a/test.html b/test.html deleted file mode 100644 index 378473f..0000000 --- a/test.html +++ /dev/null @@ -1,499 +0,0 @@ - - -
-Use these buttons to manually trigger the subscription process:
- - - -Send existing subscription to server (tests authentication):
- - - -This simulates a button click by sending a request to the webhook endpoint:
-Displays messages received from the service worker (client.postMessage):
-