From b31b5ce4a8fc243870bfd028169b7267f6741ac5 Mon Sep 17 00:00:00 2001 From: keyan Date: Sun, 23 Jul 2023 09:16:10 -0500 Subject: [PATCH] Revert "bypass self.__WB_MANIFEST check" This reverts commit afd8acd69d73d5b06a48312fff1c18bcbb88cf89. --- sw/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sw/index.js b/sw/index.js index c2093f51..e43bd988 100644 --- a/sw/index.js +++ b/sw/index.js @@ -5,8 +5,8 @@ import { NetworkOnly } from 'workbox-strategies' import manifest from './precache-manifest.json' // ignore precache manifest generated by InjectManifest -// they statically check for the presence of this variable -console.log(self.__WB_MANIFEST) +// self.__WB_MANIFEST + precacheAndRoute(manifest) self.addEventListener('install', () => {