Adjust path types in build output
This commit is contained in:
parent
1df751c9ca
commit
98c9b5cc03
@ -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;
|
||||||
|
17
static/sw.js
17
static/sw.js
@ -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);
|
|
||||||
});
|
|
||||||
});
|
|
||||||
});
|
|
@ -10,6 +10,9 @@ const config = {
|
|||||||
precompress: true,
|
precompress: true,
|
||||||
strict: true,
|
strict: true,
|
||||||
}),
|
}),
|
||||||
|
paths: {
|
||||||
|
relative: false,
|
||||||
|
},
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user