diff --git a/README.md b/README.md index 09687d7..67b2dc2 100644 --- a/README.md +++ b/README.md @@ -200,13 +200,13 @@ git commit -m 'fixed visuals' git push ``` ### Release the update -Pull the changes on your server +Navigate to the app directory on your server ```bash -git pull +cd /virt/nexus-timer ``` -Build the docker image and restart the service +Pull the changes, build the docker image and restart the service ```bash -docker build -t virt-nexus-timer . && systemctl restart virt-nexus-timer.service +git pull && docker build -t virt-nexus-timer . && systemctl restart virt-nexus-timer.service ``` View real-time logs ```bash diff --git a/public/service-worker.js b/public/service-worker.js index a496094..cad4d60 100644 --- a/public/service-worker.js +++ b/public/service-worker.js @@ -1,4 +1,4 @@ -const CACHE_VERSION = 'nexus-timer-cache-v5'; +const CACHE_VERSION = 'nexus-timer-cache-v6'; const APP_SHELL_URLS = [ // '/', // Let NetworkFirst handle '/' '/manifest.json', diff --git a/src/services/WakeLockService.js b/src/services/WakeLockService.js index 32a83a1..b66d8c4 100644 --- a/src/services/WakeLockService.js +++ b/src/services/WakeLockService.js @@ -1,4 +1,3 @@ -// src/services/WakeLockService.js let wakeLock = null; let wakeLockActive = false;