Skip to content

Commit

Permalink
just dont use it
Browse files Browse the repository at this point in the history
  • Loading branch information
guyutongxue committed May 5, 2024
1 parent 8e39ce7 commit 1fc6987
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion public/sw.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ const cacheFirst = async (request) => {
self_.addEventListener("activate", (event) => {
event.waitUntil(
(async () => {
await self_.registration?.navigationPreload.enable();
// await self_.registration?.navigationPreload.enable();
await deleteOldCaches();
})()
);
Expand Down

0 comments on commit 1fc6987

Please sign in to comment.