Change MIME type for PNG images to image/png
@ -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>
@ -60,7 +60,7 @@ void HttpResponseGenerator::setContentTypeByExt(const QString& ext) {
return;
}
if (ext == "png") {
setContentType("image/x-png");
setContentType("image/png");