Skip to content

Commit

Permalink
fix: service worker redirect not set to follow
Browse files Browse the repository at this point in the history
  • Loading branch information
ellite authored Feb 26, 2024
1 parent 1b7b50e commit 3640b54
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion includes/version.php
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
<?php
$version = "v1.8.1";
$version = "v1.8.2";
?>
2 changes: 1 addition & 1 deletion service-worker.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ self.addEventListener('install', function(event) {

self.addEventListener('fetch', function(event) {
event.respondWith(
caches.match(event.request).then(function(response) {
caches.match(event.request, { redirect: 'follow' }).then(function(response) {
return response || fetch(event.request);
})
);
Expand Down

0 comments on commit 3640b54

Please sign in to comment.