u
This commit is contained in:
@@ -100,7 +100,7 @@ export function initPwa() {
|
||||
// Check for new updates periodically (every 30 minutes)
|
||||
setInterval(() => {
|
||||
registration.update().catch(() => { });
|
||||
}, 30 * 60 * 1000);
|
||||
}, 1 * 60 * 1000);
|
||||
|
||||
// Check for updates when tab or PWA returns to foreground
|
||||
document.addEventListener('visibilitychange', () => {
|
||||
|
||||
Reference in New Issue
Block a user