updated PWA
This commit is contained in:
parent
c79170a34f
commit
a20cc2652a
|
@ -1176,7 +1176,7 @@ jQuery(document).ready(function() {
|
|||
});
|
||||
|
||||
/**
|
||||
* Setup service worker
|
||||
* Setup service worker.
|
||||
*/
|
||||
if ("serviceWorker" in navigator) {
|
||||
if (!navigator.serviceWorker.controller) {
|
||||
|
|
|
@ -57,6 +57,6 @@ echo '{
|
|||
"sizes": "512x512"
|
||||
}
|
||||
],
|
||||
"start_url": "' . $baseUrl . '?source=pwa",
|
||||
"start_url": "' . $baseUrl . '/templates/login.php",
|
||||
"display": "standalone"
|
||||
}';
|
||||
|
|
Loading…
Reference in New Issue