Add service worker to ignored urls. fix #5110

This commit is contained in:
James Cole 2021-09-25 05:14:41 +02:00
parent 9b7ed21787
commit 30c23b51b6
No known key found for this signature in database
GPG Key ID: BDE6667570EADBD5

View File

@ -45,7 +45,7 @@ class StartFireflySession extends StartSession
$isScriptPage = strpos($uri, 'jscript');
$isDeletePage = strpos($uri, 'delete');
$isLoginPage = strpos($uri, '/login');
$isJsonPage = strpos($uri, '/json');
$isJsonPage = strpos($uri, '/json') || strpos($uri, 'serviceworker');
$isView = strpos($uri, '/attachments/view');
// also stop remembering "delete" URL's.