Compare commits

..

2 Commits

Author SHA1 Message Date
Fred Boniface 70f93029ef Bump Version 2023-05-25 21:39:55 +01:00
Fred Boniface c2eb2edfd9 Adjust getRandom endpoint 2023-05-25 21:39:22 +01:00
3 changed files with 3 additions and 3 deletions

View File

@ -1,6 +1,6 @@
/* eslint-disable no-unused-vars */ /* eslint-disable no-unused-vars */
/* All Page Init */ /* All Page Init */
const version = '2023.5.9' const version = '2023.5.10'
/* Feature Detectors */ /* Feature Detectors */

View File

@ -46,7 +46,7 @@ async function findByPisCode() {
async function findRandomCode() { async function findRandomCode() {
showLoading() showLoading()
log('findRandomCode: Fetching random PIS codes') log('findRandomCode: Fetching random PIS codes')
const endpoint = 'pis/random' const endpoint = 'pis/code/random'
console.time('findRandomCode-GET') console.time('findRandomCode-GET')
const json = await getApi(endpoint, auth = true) const json = await getApi(endpoint, auth = true)
console.timeEnd('findRandomCode-GET') console.timeEnd('findRandomCode-GET')

2
sw.js
View File

@ -1,6 +1,6 @@
/* Service Worker */ /* Service Worker */
const swVersion = '2023.5.9-1' const swVersion = '2023.5.10-1'
const cacheName = `owlboard-${swVersion}` const cacheName = `owlboard-${swVersion}`
const cacheIDs = [cacheName] const cacheIDs = [cacheName]
let staticCache = [ let staticCache = [