Fix issues, bump version

This commit is contained in:
Fred Boniface 2023-03-12 12:53:20 +00:00
parent d328236f16
commit a2f98e77f5
3 changed files with 5 additions and 4 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> - <span id="ver_str">1.0.8</span></p>
<p>Created by <a href="https://fredboniface.co.uk" target="_blank" rel="noreferrer noopener">Fred Boniface</a> - <span id="ver_str">1.0.9</span></p>
</footer>
</body>
</html>

View File

@ -11,8 +11,10 @@ async function get() {
}
async function display(data) {
console.log(JSON.stringify(data))
document.getElementById('server_host').textContent = data.host;
document.getElementById('server_mode').textContent = data.mode || "Unknown";
document.getElementById('ver-bkend').textContent = data.verBkend || "Unknown";
let dat = data.dat[0]
console.log(JSON.stringify(dat))
document.getElementById('time').textContent = await convertUnixLocal(dat.since);
@ -23,7 +25,6 @@ async function display(data) {
document.getElementById('stations').textContent = dat.stations || "0";
document.getElementById('users').textContent = dat.user || "0";
document.getElementById('meta').textContent = dat.meta || "0";
document.getElementById('ver-bkend').textContent = dat.ver-bkend || "Unknown";
document.getElementById('ver-dbman').textContent = dat.ver-bkend || "Unknown";
document.getElementById('ver-dbman').textContent = dat.verDbman || "Unknown";
document.getElementById('ver-web').textContent = localStorage.getItem('ver-web') || "Unknown";
}

2
sw.js
View File

@ -1,6 +1,6 @@
/* Service Worker */
const appVersion = "1.0.8"
const appVersion = "1.0.9"
const cacheName = `owlboard-${appVersion}`;
const cacheIDs = [cacheName];
const cacheFiles = [