mirror of
https://gitlab.com/lecarore/breakout71.git
synced 2025-04-23 05:26:15 -04:00
Added staging deploy
This commit is contained in:
parent
934670b2a7
commit
c8c12fdd29
14 changed files with 242 additions and 164 deletions
|
@ -1,4 +1,5 @@
|
|||
if ("serviceWorker" in navigator &&
|
||||
window.location.search.includes("isPWA=true")) {
|
||||
navigator.serviceWorker.register("sw-b71.js");
|
||||
// @ts-ignore
|
||||
navigator.serviceWorker.register(new URL('sw-b71.js', import.meta.url));
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue