Skip to content

Commit

Permalink
generate sw
Browse files Browse the repository at this point in the history
  • Loading branch information
EduardZaydler committed Oct 16, 2024
1 parent c0db164 commit 55ee09f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@ module.exports = {
runtimeCaching: [
{
urlPattern: ({ request }) =>
request.mode === "navigate" ||
(request.headers.get("accept")?.includes("text/html") &&
!request.url.includes("oauth")),
(request.mode === "navigate" ||
request.headers.get("accept")?.includes("text/html")) &&
!request.url.includes("oauth"),

handler: "NetworkFirst",
options: {
Expand Down

0 comments on commit 55ee09f

Please sign in to comment.