diff --git a/apps/frontend/public/service-worker.js b/apps/frontend/public/service-worker.js index bd24b7c..654c45e 100644 --- a/apps/frontend/public/service-worker.js +++ b/apps/frontend/public/service-worker.js @@ -43,15 +43,6 @@ const TEMP_CACHE = new Map() // Используем карту для врем async function handleNavigationRequest(request) { if (TEMP_CACHE.has(request.url) && navigator.onLine) { - console.log('notifying clients about MAIN_PAGE_READY in cache') - clients.matchAll({ type: 'window' }).then((allClients) => { - allClients.forEach((client) => - client.postMessage({ - type: 'MAIN_PAGE_READY', - }), - ) - }) - return TEMP_CACHE.get(request.url).clone() }