Created
July 31, 2017 14:56
-
-
Save jazzyjackson/1a7436e916312966193e360b4d47f802 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
request.url.split('?')[0].includes('.svg') && response.setHeader('Content-Type','image/svg+xml') | |
request.url.split('?')[0].includes('.css') && response.setHeader('Content-Type','text/css') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment