perusio / drupal-with-nginx

Running Drupal using nginx: an idiosyncratically crafted bleeding edge configuration.
855 stars 246 forks source link

Added an appropriate mime type for .woff2 #257

Closed pprishchepa closed 8 years ago

pprishchepa commented 8 years ago

Related PR #255.

iryston commented 8 years ago

@PavelPrischepa thank you for PR! I want to pay attention that according to w3c recommendation WOFF 2.0 is an improvement on WOFF 1.0. The two formats have different Internet Media Types and may be used in parallel. So, WOFF2 mime type should be

application/font-woff2                 woff2;
pprishchepa commented 8 years ago

@iryston Thank you for the remark. But I'm not sure, Is there any way to change the PR, or do I need to create a new one?

iryston commented 8 years ago

To update a PR, even if you have removed the original remote branch out of which the PR was created, you just need to:

And after that the PR will be automagically updated

perusio commented 8 years ago
iryston commented 8 years ago

@perusio can you change application/font-woff woff2; to application/font-woff2 woff2; or it will be better to make a new PR?