From a20cc2652ae6d80d276a7e7055796f7d979d01f5 Mon Sep 17 00:00:00 2001 From: Roland Gruber Date: Mon, 20 May 2019 17:04:53 +0200 Subject: [PATCH] updated PWA --- lam/templates/lib/500_lam.js | 2 +- lam/templates/manifest.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lam/templates/lib/500_lam.js b/lam/templates/lib/500_lam.js index df857cd1..f302cafb 100644 --- a/lam/templates/lib/500_lam.js +++ b/lam/templates/lib/500_lam.js @@ -1176,7 +1176,7 @@ jQuery(document).ready(function() { }); /** - * Setup service worker + * Setup service worker. */ if ("serviceWorker" in navigator) { if (!navigator.serviceWorker.controller) { diff --git a/lam/templates/manifest.php b/lam/templates/manifest.php index 0cf1f56c..6e9b71a3 100644 --- a/lam/templates/manifest.php +++ b/lam/templates/manifest.php @@ -57,6 +57,6 @@ echo '{ "sizes": "512x512" } ], - "start_url": "' . $baseUrl . '?source=pwa", + "start_url": "' . $baseUrl . '/templates/login.php", "display": "standalone" }';