Skip to content

Commit

Permalink
sw
Browse files Browse the repository at this point in the history
  • Loading branch information
SamirPaulb committed Feb 3, 2024
1 parent 8927b10 commit 0f8382f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion static/sw.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ importScripts(
workbox.routing.setCatchHandler(({ event }) => {
switch (event.request.destination) {
case "document":
return caches.match("/404.html");
return caches.match("/offline/index.html");
default:
return Response.error();
}
Expand Down

0 comments on commit 0f8382f

Please sign in to comment.