Version String:

- Bump to 1.0.8
 - Read from index.html and load string in to localStorage
This commit is contained in:
Fred Boniface 2023-03-10 22:01:13 +00:00
parent 3a24d8ef2e
commit c9d231fd7e
3 changed files with 3 additions and 2 deletions

View File

@ -64,7 +64,7 @@
</div>
<!-- Footer -->
<footer>
<p>Created by <a href="https://fredboniface.co.uk" target="_blank" rel="noreferrer noopener">Fred Boniface</a> - 1.0.7</p>
<p>Created by <a href="https://fredboniface.co.uk" target="_blank" rel="noreferrer noopener">Fred Boniface</a> - <span id="ver_str">1.0.8</span></p>
</footer>
</body>
</html>

View File

@ -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){

2
sw.js
View File

@ -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 = [