diff --git a/docs/releases.md b/docs/releases.md index ce6c3bf0..bcf901f0 100644 --- a/docs/releases.md +++ b/docs/releases.md @@ -1905,6 +1905,12 @@ and the [ntfy Android app](https://github.com/binwiederhier/ntfy-android/release ## Not released yet +## ntfy server v2.24.0 (UNRELEASED) + +**Bug fixes + maintenance:** + +* Extend account token automatically from the PWA service worker, so installed PWAs don't get logged out ([#1669](https://github.com/binwiederhier/ntfy/pull/1669), [#1203](https://github.com/binwiederhier/ntfy/issues/1203), [#1533](https://github.com/binwiederhier/ntfy/issues/1533), thanks to [@nihalgonsalves](https://github.com/nihalgonsalves) for the contribution) + ## ntfy iOS app v1.7.0 (UNRELEASED) This release brings **image and attachment support** to the iOS app, finally closing one of the longest-standing iOS diff --git a/web/src/components/hooks.js b/web/src/components/hooks.js index 19149931..750292ec 100644 --- a/web/src/components/hooks.js +++ b/web/src/components/hooks.js @@ -320,7 +320,7 @@ const usePeriodicTokenExtend = () => { console.log(`[usePeriodicTokenExtend] Turning on periodicsync "${SW_PERIODIC_SYNC_EXTEND_TOKEN_TAG}"`); await registration.periodicSync.register(SW_PERIODIC_SYNC_EXTEND_TOKEN_TAG, { - minInterval: 60 * 1000 // 24 * 60 * 60 * 1000 // 24 hours + minInterval: 12 * 60 * 60 * 1000 // 12 hours }); } catch (error) { console.log("[usePeriodicTokenExtend] Periodic Sync could not be registered", error);