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