aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAriel Costas Guerrero <94913521+arielcostas@users.noreply.github.com>2025-03-04 19:58:44 +0100
committerGitHub <noreply@github.com>2025-03-04 19:58:44 +0100
commit960c98407c487515f4704d82f8f5034df13843eb (patch)
treeecfebd42170d9207787c721f8902ee27222cdc28
parentf461e40373575989b39ffdcf0adc2c3edcdb7d0d (diff)
Actualizar index.html
-rw-r--r--index.html3
1 files changed, 3 insertions, 0 deletions
diff --git a/index.html b/index.html
index 6cf9027..abfd384 100644
--- a/index.html
+++ b/index.html
@@ -42,6 +42,9 @@
<script>
if ('serviceWorker' in navigator) {
navigator.serviceWorker.register('/sw.js');
+ navigator.serviceWorker.ready.then(registration => {
+ registration.update();
+ });
}
</script>
</body>