Skip to content

Commit e0cc833

Browse files
author
Bill Stavroulakis
committed
remove sw fallback fetch for now
1 parent bcabf84 commit e0cc833

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/service-worker.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ function networkFirstStrategy (request) {
5555
return fetchRequestAndCache(request).catch(function (response) {
5656
return caches.match(request).then(function (cacheResponse) {
5757
console.log('not found in cache or network')
58-
return cacheResponse || caches.match('/')
58+
return cacheResponse
5959
})
6060
})
6161
}

0 commit comments

Comments
 (0)