pis #2

Merged
fred.boniface merged 76 commits from pis into main 2023-05-06 21:53:45 +01:00
3 changed files with 3 additions and 3 deletions
Showing only changes of commit fbb4702b69 - Show all commits

View File

@ -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";
} }

View File

@ -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
View File

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