mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-08-14 02:27:09 -07:00
Change MIME type for PNG images to image/png
This commit is contained in:
parent
571963b1bd
commit
6db7d36e4d
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue