From 5d5cdcb3d7a3b9cc5d10d7716cdb87b97eca6a8d Mon Sep 17 00:00:00 2001 From: plebeius Date: Sat, 12 Jul 2025 17:25:57 +0200 Subject: [PATCH] Update index.tsx --- src/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.tsx b/src/index.tsx index bd5cdfef..6d11c457 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -16,7 +16,7 @@ if (window.location.hostname.startsWith('p2p.')) { }; } -const reloadSW = registerSW({ +registerSW({ immediate: true, onNeedRefresh() { // Reload the page to load the new version