Revert "bypass self.__WB_MANIFEST check"

This reverts commit afd8acd69d73d5b06a48312fff1c18bcbb88cf89.
This commit is contained in:
keyan 2023-07-23 09:16:10 -05:00
parent ba0cd71d23
commit b31b5ce4a8

View File

@ -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', () => {