From 02a9fad2084e6ac82a7a8e25cdf8023dea4360ee Mon Sep 17 00:00:00 2001 From: Naiel <109038805+naielv@users.noreply.github.com> Date: Thu, 29 May 2025 15:07:30 +0200 Subject: [PATCH] update --- index.html | 4 ++-- sw.js | 4 +++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/index.html b/index.html index 687d9d6..0c86749 100644 --- a/index.html +++ b/index.html @@ -529,9 +529,9 @@ peerListEl.innerHTML = list.innerHTML; peerCountEl.innerText = peerCount; if (peerCount < 2){ - document.getElementById("connectStatus").src = "static/connect_ko.svg" + document.getElementById("connectStatus").src = "static/ico/connect_ko.svg" } else { - document.getElementById("connectStatus").src = "static/connect_ok.svg" + document.getElementById("connectStatus").src = "static/ico/connect_ok.svg" } } diff --git a/sw.js b/sw.js index f6a4087..701a33e 100644 --- a/sw.js +++ b/sw.js @@ -1,4 +1,4 @@ -var cacheName = 'telesec_2025-05-29_9'; +var cacheName = 'telesec_2025-05-29_10'; self.addEventListener('install', event => { event.waitUntil( @@ -37,6 +37,8 @@ self.addEventListener('install', event => { "static/ico/cereales.png", "static/ico/checkbox.png", "static/ico/checkbox_unchecked.png", + "static/ico/connect_ok.svg", + "static/ico/connect_ko.svg", "static/ico/coffee_bean.png", "static/ico/colacao.jpg", "static/ico/cookies.png",