Skip to content

Commit

Permalink
update: no caching html
Browse files Browse the repository at this point in the history
  • Loading branch information
Rooyca committed Mar 18, 2024
1 parent df67866 commit 3b97f6e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/manifest.json
Original file line number Diff line number Diff line change
@@ -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": [
Expand Down
2 changes: 1 addition & 1 deletion src/sw.js
Original file line number Diff line number Diff line change
@@ -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"]);
})
);
})
Expand Down

0 comments on commit 3b97f6e

Please sign in to comment.