Adjust path types in build output

This commit is contained in:
Fred Boniface 2024-06-18 23:42:05 +01:00
parent 1df751c9ca
commit 98c9b5cc03
3 changed files with 4 additions and 18 deletions

View File

@ -1,3 +1,3 @@
export const version: string = '2024.06.1'; export const version: string = '2024.06.2';
export const versionTag: string = ''; export const versionTag: string = '';
export const showWelcome: boolean = false; export const showWelcome: boolean = false;

View File

@ -1,17 +0,0 @@
// Remove the service worker /sw.js from legacy installations
// This should then enable the new /service-worker.js to be installed
self.addEventListener("activate", function (e) {
console.log(`Unregistering service worker`);
self.registration
.unregister()
.then(function () {
return self.clients.matchAll();
})
.then(function (clients) {
clients.forEach((client) => {
console.log(`Navigating ${client.url}`);
client.navigate(client.url);
});
});
});

View File

@ -10,6 +10,9 @@ const config = {
precompress: true, precompress: true,
strict: true, strict: true,
}), }),
paths: {
relative: false,
},
}, },
}; };