Skip to content

Commit

Permalink
$mol_offline fix 15
Browse files Browse the repository at this point in the history
  • Loading branch information
zerkalica committed Feb 4, 2024
1 parent c9f3a1f commit 7d53ca4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion offline/offline.web.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ namespace $ {
if (request.cache === 'no-store') return

const fresh = fetch( request ).then( response => {
if (response.status === 200) return response
if (response.status !== 200) return response
event.waitUntil(
caches.open( '$mol_offline' ).then(
cache => cache.put( request , response )
Expand Down

0 comments on commit 7d53ca4

Please sign in to comment.