Created
March 6, 2017 22:18
-
-
Save gauntface/30ac232d8e97ec079c1506eb82091a95 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
| // OK when ‘Service-Worker-Allowed’ header is set to ‘/’ | |
| navigator.serviceWorker.register(‘/blog/sw.js’, {scope: ‘/’}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment