pis #2
@ -1,6 +1,7 @@
|
|||||||
init();
|
init();
|
||||||
|
|
||||||
async function init() { // The page init function
|
async function init() { // The page init function
|
||||||
|
versionDisplay()
|
||||||
display(await get())
|
display(await get())
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -26,5 +27,4 @@ async function display(data) { // Parses and displays data from API
|
|||||||
document.getElementById('meta').textContent = dat.meta || "0";
|
document.getElementById('meta').textContent = dat.meta || "0";
|
||||||
document.getElementById('pis').textContent = dat.pis
|
document.getElementById('pis').textContent = dat.pis
|
||||||
document.getElementById('ver-dbman').textContent = ver.dbmanager || "Unknown";
|
document.getElementById('ver-dbman').textContent = ver.dbmanager || "Unknown";
|
||||||
document.getElementById('ver-web').textContent = localStorage.getItem('ver-web') || "Unknown";
|
|
||||||
}
|
}
|
@ -78,7 +78,7 @@
|
|||||||
web-frontend
|
web-frontend
|
||||||
</a>
|
</a>
|
||||||
</td>
|
</td>
|
||||||
<td id="ver-web"></td>
|
<td id="ver_str">Unknown</td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
<p>The statistics represent hits & queries from all instances in the stack.</p>
|
<p>The statistics represent hits & queries from all instances in the stack.</p>
|
||||||
|
2
sw.js
2
sw.js
@ -1,6 +1,6 @@
|
|||||||
/* Service Worker */
|
/* Service Worker */
|
||||||
|
|
||||||
const appVersion = "PIS-DEV-23042502"
|
const appVersion = "PIS-DEV-23043001"
|
||||||
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