mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-21 07:57:22 -06:00
Change MIME type for PNG images to image/png
This commit is contained in:
committed by
Christophe Dumez
parent
571963b1bd
commit
6db7d36e4d
@@ -58,8 +58,8 @@ void HttpResponseGenerator::setContentTypeByExt(const QString& ext) {
|
||||
setContentType("text/javascript");
|
||||
return;
|
||||
}
|
||||
if(ext == "png") {
|
||||
setContentType("image/x-png");
|
||||
if (ext == "png") {
|
||||
setContentType("image/png");
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user