mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-08-19 12:59:56 -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");
|
setContentType("text/javascript");
|
||||||
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