updated PWA

This commit is contained in:
Roland Gruber 2019-05-20 17:04:53 +02:00
parent c79170a34f
commit a20cc2652a
2 changed files with 2 additions and 2 deletions

View File

@ -1176,7 +1176,7 @@ jQuery(document).ready(function() {
});
/**
* Setup service worker
* Setup service worker.
*/
if ("serviceWorker" in navigator) {
if (!navigator.serviceWorker.controller) {

View File

@ -57,6 +57,6 @@ echo '{
"sizes": "512x512"
}
],
"start_url": "' . $baseUrl . '?source=pwa",
"start_url": "' . $baseUrl . '/templates/login.php",
"display": "standalone"
}';