Created
March 6, 2017 22:20
-
-
Save gauntface/5a74831af319ce7f7f1302e3c8a41b50 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
| app.use('/', express.static(rootDirectory, { | |
| setHeaders: (res) => { | |
| res.setHeader('Service-Worker-Allowed', '/'); | |
| }, | |
| })); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment