From c656af00090436d575b7e3c49e0efed32b01906e Mon Sep 17 00:00:00 2001 From: cpu Date: Fri, 9 May 2025 15:15:25 +0200 Subject: [PATCH] clean up --- README.md | 8 ++++---- public/service-worker.js | 2 +- src/services/WakeLockService.js | 1 - 3 files changed, 5 insertions(+), 6 deletions(-) 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;