diff --git a/js/settings.js b/js/settings.js index 8a7e2d6..7a9ed54 100644 --- a/js/settings.js +++ b/js/settings.js @@ -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() } diff --git a/sw.js b/sw.js index dababfb..5fb7a01 100644 --- a/sw.js +++ b/sw.js @@ -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 = [