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