mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2024-12-27 08:19:30 +08:00
Merge pull request #7 from Tilka/master
Change MIME type for PNG images to image/png
This commit is contained in:
commit
83494f999a
@ -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>qBittorrent ${VERSION} (Web UI)</p>
|
||||||
<p>Copyright (c) 2011 <a href="mailto:chris@qbittorrent.org">Christophe Dumez</a></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>
|
<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;
|
return;
|
||||||
}
|
}
|
||||||
if (ext == "png") {
|
if (ext == "png") {
|
||||||
setContentType("image/x-png");
|
setContentType("image/png");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user