mirror of
https://github.com/wekan/wekan.git
synced 2025-12-16 23:40:13 +01:00
Added URL path / for site.webmanifest and pwa-service-worker because of errors in Chrome inspect console.
Thanks to xet7 !
This commit is contained in:
parent
8152597a03
commit
15bf69c319
2 changed files with 2 additions and 2 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue