Merge pull request #7 from Tilka/master

Change MIME type for PNG images to image/png
This commit is contained in:
Christophe Dumez 2012-06-20 10:13:35 -07:00
commit 83494f999a
2 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
<img src="../images/skin/mascot.png" align="right"></img>
<img src="images/skin/mascot.png" align="right"></img>
<p>qBittorrent ${VERSION} (Web UI)</p>
<p>Copyright (c) 2011 <a href="mailto:chris@qbittorrent.org">Christophe Dumez</a></p>
<p>Homepage: <a href="http://www.qbittorrent.com">http://www.qbittorrent.com</a></p>

View File

@ -60,7 +60,7 @@ void HttpResponseGenerator::setContentTypeByExt(const QString& ext) {
return;
}
if (ext == "png") {
setContentType("image/x-png");
setContentType("image/png");
return;
}
}