Update index.tsx

This commit is contained in:
plebeius
2025-07-12 17:25:57 +02:00
parent a60142f493
commit 5d5cdcb3d7

View File

@@ -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