mirror of https://github.com/wekan/wekan
Added URL path / for site.webmanifest and pwa-service-worker because of errors in Chrome inspect console.
Thanks to xet7 !pull/4732/head
parent
8152597a03
commit
15bf69c319
@ -1,6 +1,6 @@ |
||||
// PWA
|
||||
if ('serviceWorker' in navigator) { |
||||
window.addEventListener('load', function() { |
||||
navigator.serviceWorker.register('./pwa-service-worker.js'); |
||||
navigator.serviceWorker.register('/pwa-service-worker.js'); |
||||
}); |
||||
} |
||||
|
Loading…
Reference in new issue