mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-08-13 18:17:08 -07:00
Change MIME type for PNG images to image/png
This is the official MIME type assigned by the IANA (see http://www.iana.org/assignments/media-types/image/png).
This commit is contained in:
parent
3197d5cc2f
commit
2f0e15bc25
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue