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 ("serviceWorker" in navigator) {
|
||||||
if (!navigator.serviceWorker.controller) {
|
if (!navigator.serviceWorker.controller) {
|
||||||
|
|
|
@ -57,6 +57,6 @@ echo '{
|
||||||
"sizes": "512x512"
|
"sizes": "512x512"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"start_url": "' . $baseUrl . '?source=pwa",
|
"start_url": "' . $baseUrl . '/templates/login.php",
|
||||||
"display": "standalone"
|
"display": "standalone"
|
||||||
}';
|
}';
|
||||||
|
|
Loading…
Reference in New Issue