We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b2da6cd commit 219ed2eCopy full SHA for 219ed2e
1 file changed
static/sw.js
@@ -1,5 +1,5 @@
1
// deno-lint-ignore-file no-unused-vars
2
-const CACHE_VERSION = "v27"; // Increment this when you have new features
+const CACHE_VERSION = "v28"; // Increment this when you have new features
3
// const STATIC_CACHE = `andromeda-static-${CACHE_VERSION}`;
4
const DYNAMIC_CACHE = `andromeda-dynamic-${CACHE_VERSION}`;
5
@@ -376,9 +376,10 @@ async function cacheIfAllowed(
376
) {
377
try {
378
if (!response || !response.ok) return;
379
- const ct = (response.headers &&
380
- response.headers.get &&
381
- response.headers.get("content-type")) ||
+ const ct =
+ (response.headers &&
+ response.headers.get &&
382
+ response.headers.get("content-type")) ||
383
"";
384
if (
385
ct.startsWith("image/") ||
0 commit comments