Skip to content

Commit

Permalink
Merge pull request #100 from nofirg/master
Browse files Browse the repository at this point in the history
fix response content-type header: image/jpeg instead of image/jpg
  • Loading branch information
meenie authored Feb 8, 2017
2 parents 2511ab6 + 7412e32 commit 859b514
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Munee/Asset/Type/Image.php
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ public function getHeaders()
switch ($this->request->ext) {
case 'jpg':
case 'jpeg':
$this->response->headerController->headerField('Content-Type', 'image/jpg');
$this->response->headerController->headerField('Content-Type', 'image/jpeg');
break;
case 'png':
$this->response->headerController->headerField('Content-Type', 'image/png');
Expand Down

0 comments on commit 859b514

Please sign in to comment.