This commit is contained in:
Fred Boniface 2023-05-24 00:45:35 +01:00
parent 08a72d8c0c
commit c6a8ce2d58
2 changed files with 2 additions and 2 deletions

View File

@ -99,7 +99,7 @@ async function register() { // Registers a device by sending POST request to API
regState = 'fail'
regMsg = 'Unauthorised email domain'
}
window.location.assign(`./registered?res=${regState}&msg=${regMsg}`)
window.location.assign(`./registered.html?res=${regState}&msg=${regMsg}`)
} else {
logout()
}

2
sw.js
View File

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