Created
April 1, 2018 04:59
-
-
Save thangman22/23742cf172c2722e594b96a1c91f8d1a to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| workbox.routing.setCatchHandler(({ url, event, params }) => { | |
| return caches.match('/offline/') | |
| }) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment