Fix typo
This commit is contained in:
parent
08a72d8c0c
commit
c6a8ce2d58
@ -99,7 +99,7 @@ async function register() { // Registers a device by sending POST request to API
|
|||||||
regState = 'fail'
|
regState = 'fail'
|
||||||
regMsg = 'Unauthorised email domain'
|
regMsg = 'Unauthorised email domain'
|
||||||
}
|
}
|
||||||
window.location.assign(`./registered?res=${regState}&msg=${regMsg}`)
|
window.location.assign(`./registered.html?res=${regState}&msg=${regMsg}`)
|
||||||
} else {
|
} else {
|
||||||
logout()
|
logout()
|
||||||
}
|
}
|
||||||
|
2
sw.js
2
sw.js
@ -1,6 +1,6 @@
|
|||||||
/* Service Worker */
|
/* Service Worker */
|
||||||
|
|
||||||
const swVersion = '2023.5.6-1'
|
const swVersion = '2023.5.6-2'
|
||||||
const cacheName = `owlboard-${swVersion}`
|
const cacheName = `owlboard-${swVersion}`
|
||||||
const cacheIDs = [cacheName]
|
const cacheIDs = [cacheName]
|
||||||
let staticCache = [
|
let staticCache = [
|
||||||
|
Reference in New Issue
Block a user