Version String:
- Bump to 1.0.8 - Read from index.html and load string in to localStorage
This commit is contained in:
parent
3a24d8ef2e
commit
c9d231fd7e
@ -64,7 +64,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<!-- Footer -->
|
<!-- Footer -->
|
||||||
<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>
|
</footer>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
@ -8,6 +8,7 @@ if ("serviceWorker" in navigator) {
|
|||||||
async function pageInit() {
|
async function pageInit() {
|
||||||
await loadQuickLinks();
|
await loadQuickLinks();
|
||||||
hideLoading(); // From lib.main
|
hideLoading(); // From lib.main
|
||||||
|
localStorage.setItem("web_ver", document.getElementById('ver_str').textContent)
|
||||||
}
|
}
|
||||||
|
|
||||||
async function gotoBoard(station){
|
async function gotoBoard(station){
|
||||||
|
2
sw.js
2
sw.js
@ -1,6 +1,6 @@
|
|||||||
/* Service Worker */
|
/* Service Worker */
|
||||||
|
|
||||||
const appVersion = "1.0.7"
|
const appVersion = "1.0.8"
|
||||||
const cacheName = `owlboard-${appVersion}`;
|
const cacheName = `owlboard-${appVersion}`;
|
||||||
const cacheIDs = [cacheName];
|
const cacheIDs = [cacheName];
|
||||||
const cacheFiles = [
|
const cacheFiles = [
|
||||||
|
Reference in New Issue
Block a user