Bump version to 1.0.0 with new Stat metric (CORPUS API)

This commit is contained in:
Fred Boniface 2023-02-16 21:40:11 +00:00
parent f6c805165a
commit 5453b8016f
4 changed files with 12 additions and 10 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> - 0.1.5</p>
<p>Created by <a href="https://fredboniface.co.uk" target="_blank" rel="noreferrer noopener">Fred Boniface</a> - 1.0.0-test</p>
</footer>
</body>
</html>

View File

@ -17,6 +17,7 @@ async function display(data) {
document.getElementById('time').textContent = await convertUnixLocal(dat.since);
document.getElementById('ldbws').textContent = dat.ldbws || "0";
document.getElementById('ldbsvws').textContent = dat.ldbsvws || "0";
document.getElementById('apicorpus').textContent = dat.corpus_api || "0";
document.getElementById('corpus').textContent = dat.corpus || "0";
document.getElementById('stations').textContent = dat.stations || "0";
document.getElementById('users').textContent = dat.user || "0";

View File

@ -16,27 +16,31 @@
<th>Hit Count</th>
</tr>
<tr>
<td>LDBWS</td>
<td>Upstream API-LDBWS</td>
<td id="ldbws"></td>
</tr>
<tr>
<td>LDBSVWS</td>
<td>Upstream API-LDBSVWS</td>
<td id="ldbsvws"></td>
</tr>
<tr>
<td>Upstream API-CORPUS</td>
<td id="apicorpus"></td>
</tr>
<tr>
<td>DB-CORPUS</td>
<td id="corpus"></td>
</tr>
<tr>
<td>DB-Stations</td>
<td>DB-stations</td>
<td id="stations"></td>
</tr>
<tr>
<td>DB-Users</td>
<td>DB-users</td>
<td id="users"></td>
</tr>
<tr>
<td>DB-Meta</td>
<td>DB-meta</td>
<td id="meta"></td>
</tr>
</table>
@ -61,9 +65,6 @@
<tr>
<td>At least one web server service (Caching is done at this level so more than one service may increase API hits)</td>
</tr>
<tr>
<td></td>
</tr>
</table>
</body>
</html>

2
sw.js
View File

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