mirror of
https://github.com/multipleof4/ntfy.git
synced 2026-10-16 16:37:55 +00:00
Fmt
This commit is contained in:
@@ -320,7 +320,7 @@ const usePeriodicTokenExtend = () => {
|
|||||||
|
|
||||||
console.log(`[usePeriodicTokenExtend] Turning on periodicsync "${SW_PERIODIC_SYNC_EXTEND_TOKEN_TAG}"`);
|
console.log(`[usePeriodicTokenExtend] Turning on periodicsync "${SW_PERIODIC_SYNC_EXTEND_TOKEN_TAG}"`);
|
||||||
await registration.periodicSync.register(SW_PERIODIC_SYNC_EXTEND_TOKEN_TAG, {
|
await registration.periodicSync.register(SW_PERIODIC_SYNC_EXTEND_TOKEN_TAG, {
|
||||||
minInterval: 12 * 60 * 60 * 1000 // 12 hours
|
minInterval: 12 * 60 * 60 * 1000, // 12 hours
|
||||||
});
|
});
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.log("[usePeriodicTokenExtend] Periodic Sync could not be registered", error);
|
console.log("[usePeriodicTokenExtend] Periodic Sync could not be registered", error);
|
||||||
|
|||||||
Reference in New Issue
Block a user