mirror of
https://github.com/wekan/wekan.git
synced 2026-01-06 09:38:49 +01:00
Install Wekan to mobile homescreen icon and use fullscreen PWA.
Docs at https://github.com/wekan/wekan/wiki/PWA Thanks to xet7 ! Closes #2879
This commit is contained in:
parent
c7d4a90d5c
commit
8d5adc0464
28 changed files with 553 additions and 26 deletions
6
client/00-startup.js
Normal file
6
client/00-startup.js
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
// PWA
|
||||
if ('serviceWorker' in navigator) {
|
||||
window.addEventListener('load', function() {
|
||||
navigator.serviceWorker.register('/pwa-service-worker.js');
|
||||
});
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue