mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-25 18:45:27 -06:00
Add service worker to ignored urls. fix #5110
This commit is contained in:
parent
9b7ed21787
commit
30c23b51b6
@ -45,7 +45,7 @@ class StartFireflySession extends StartSession
|
|||||||
$isScriptPage = strpos($uri, 'jscript');
|
$isScriptPage = strpos($uri, 'jscript');
|
||||||
$isDeletePage = strpos($uri, 'delete');
|
$isDeletePage = strpos($uri, 'delete');
|
||||||
$isLoginPage = strpos($uri, '/login');
|
$isLoginPage = strpos($uri, '/login');
|
||||||
$isJsonPage = strpos($uri, '/json');
|
$isJsonPage = strpos($uri, '/json') || strpos($uri, 'serviceworker');
|
||||||
$isView = strpos($uri, '/attachments/view');
|
$isView = strpos($uri, '/attachments/view');
|
||||||
|
|
||||||
// also stop remembering "delete" URL's.
|
// also stop remembering "delete" URL's.
|
||||||
|
Loading…
Reference in New Issue
Block a user