Created
January 27, 2019 19:41
-
-
Save MrPeker/e218c6fd517c2b3c94a1286b22092c9f to your computer and use it in GitHub Desktop.
This file contains 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
const handler = ({url, event}) => { | |
return new Response(`Custom handler response.`); | |
}; | |
workbox.routing.registerRoute(match, handler); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment