From c9d231fd7ea4591c7fb46fa7d66263398fdd5e10 Mon Sep 17 00:00:00 2001 From: Fred Boniface Date: Fri, 10 Mar 2023 22:01:13 +0000 Subject: [PATCH] Version String: - Bump to 1.0.8 - Read from index.html and load string in to localStorage --- index.html | 2 +- js/index.js | 1 + sw.js | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/index.html b/index.html index 26fb93b..5a83919 100644 --- a/index.html +++ b/index.html @@ -64,7 +64,7 @@ diff --git a/js/index.js b/js/index.js index fba16c3..07c5ecf 100644 --- a/js/index.js +++ b/js/index.js @@ -8,6 +8,7 @@ if ("serviceWorker" in navigator) { async function pageInit() { await loadQuickLinks(); hideLoading(); // From lib.main + localStorage.setItem("web_ver", document.getElementById('ver_str').textContent) } async function gotoBoard(station){ diff --git a/sw.js b/sw.js index 27f9b2e..77f3a51 100644 --- a/sw.js +++ b/sw.js @@ -1,6 +1,6 @@ /* Service Worker */ -const appVersion = "1.0.7" +const appVersion = "1.0.8" const cacheName = `owlboard-${appVersion}`; const cacheIDs = [cacheName]; const cacheFiles = [