From 3b97f6e1f9c0915ae2fd81419fd41dce5f350497 Mon Sep 17 00:00:00 2001 From: rooyca Date: Mon, 18 Mar 2024 16:58:14 -0500 Subject: [PATCH] update: no caching html --- src/manifest.json | 1 + src/sw.js | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/manifest.json b/src/manifest.json index cedfafe..883f761 100644 --- a/src/manifest.json +++ b/src/manifest.json @@ -1,6 +1,7 @@ { "name": "1001 Movies You Should Watch Before You Die", "short_name": "1001 Movies", + "description": "Everyday get a movie from the list of 1001 movies you should watch before you die", "start_url": ".", "display": "standalone", "icons": [ diff --git a/src/sw.js b/src/sw.js index 546c62f..f891152 100644 --- a/src/sw.js +++ b/src/sw.js @@ -1,7 +1,7 @@ self.addEventListener("install", e => { e.waitUntil( caches.open("static").then(cache => { - return cache.addAll(["./", "./style.css", "./favicon.svg", "./600x900.svg"]); + return cache.addAll(["./style.css", "./favicon.svg", "./600x900.svg"]); }) ); })