mirror of
https://github.com/lubosz/overte.git
synced 2025-04-07 04:42:49 +02:00
Update comment as per review
This commit is contained in:
parent
5759c76154
commit
b4727adecc
1 changed files with 1 additions and 1 deletions
|
@ -166,7 +166,7 @@ bool HTTPManager::handleHTTPRequest(HTTPConnection* connection, const QUrl& url,
|
|||
localFileData = localFileString.toLocal8Bit();
|
||||
}
|
||||
|
||||
// if this is an shtml file just make the MIME type match HTML so browsers aren't confused
|
||||
// if this is an shtml, html or htm file just make the MIME type match HTML so browsers aren't confused
|
||||
// otherwise use the mimeDatabase to look it up
|
||||
auto suffix = localFileInfo.suffix();
|
||||
auto mimeType = (suffix == "shtml" || suffix == "html" || suffix == "htm")
|
||||
|
|
Loading…
Reference in a new issue