mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-19 05:12:41 +01:00
(Celerity) Fix mimetype for JPEG files so IE will load them
Summary: IE won't load background images in a page that are served with the mimetype "image/jpg" as it only recognises the "image/jpeg" mimetype. Test Plan: Spent an hour or two going back and forth between Linux (to dev) and Windows (to test) to find the source of this issue, then flipped several tables at IE for being terrible. Reviewers: epriestley, #blessed_reviewers Reviewed By: epriestley, #blessed_reviewers Subscribers: epriestley, Korvin Differential Revision: https://secure.phabricator.com/D8689
This commit is contained in:
parent
2bd8603d95
commit
3e6bfda0ca
1 changed files with 1 additions and 1 deletions
|
@ -90,7 +90,7 @@ abstract class CelerityResourceController extends PhabricatorController {
|
|||
'js' => 'text/javascript; charset=utf-8',
|
||||
'png' => 'image/png',
|
||||
'gif' => 'image/gif',
|
||||
'jpg' => 'image/jpg',
|
||||
'jpg' => 'image/jpeg',
|
||||
'swf' => 'application/x-shockwave-flash',
|
||||
'woff' => 'font/woff',
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue