2025-03-14 20:12:02 +01:00
|
|
|
if ("serviceWorker" in navigator &&
|
|
|
|
window.location.search.includes("isPWA=true")) {
|
2025-03-14 22:14:57 +01:00
|
|
|
// @ts-ignore
|
|
|
|
navigator.serviceWorker.register(new URL('sw-b71.js', import.meta.url));
|
2025-03-14 20:12:02 +01:00
|
|
|
}
|