File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change 11// deno-lint-ignore-file no-unused-vars
2- const CACHE_VERSION = "v27 " ; // Increment this when you have new features
2+ const CACHE_VERSION = "v28 " ; // Increment this when you have new features
33// const STATIC_CACHE = `andromeda-static-${CACHE_VERSION}`;
44const DYNAMIC_CACHE = `andromeda-dynamic-${ CACHE_VERSION } ` ;
55
@@ -376,9 +376,10 @@ async function cacheIfAllowed(
376376) {
377377 try {
378378 if ( ! response || ! response . ok ) return ;
379- const ct = ( response . headers &&
380- response . headers . get &&
381- response . headers . get ( "content-type" ) ) ||
379+ const ct =
380+ ( response . headers &&
381+ response . headers . get &&
382+ response . headers . get ( "content-type" ) ) ||
382383 "" ;
383384 if (
384385 ct . startsWith ( "image/" ) ||
You can’t perform that action at this time.
0 commit comments