Skip to content
This repository has been archived by the owner on Apr 23, 2024. It is now read-only.

Commit

Permalink
revert the previous commit
Browse files Browse the repository at this point in the history
  • Loading branch information
mgilangjanuar committed Dec 31, 2021
1 parent cc1e014 commit 0c9e5cf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion web/src/service-worker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ registerRoute(
}

// Return true to signal that we want to use the handler.
return false
return true
},
createHandlerBoundToURL(process.env.PUBLIC_URL + '/index.html')
)
Expand Down
1 change: 1 addition & 0 deletions web/sw-config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
module.exports = {
navigateFallbackWhitelist: [/^(?!.*\/api\/).*/],
runtimeCaching: [
{
urlPattern: '/api/',
Expand Down

0 comments on commit 0c9e5cf

Please sign in to comment.