Compare commits
1 Commits
46390c2447
...
main
Author | SHA1 | Date | |
---|---|---|---|
a1f786876e |
@ -44,7 +44,7 @@ if ( ! localStorage.getItem("pwaInstallDismissed") ) {
|
||||
|
||||
// ios REQUIRES a service worker
|
||||
if ('serviceWorker' in navigator) {
|
||||
navigator.serviceWorker.register('/sw.js')
|
||||
navigator.serviceWorker.register('/app/js/sw.js')
|
||||
.then(() => console.log('Service Worker Registered'));
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user