Skip to content

Commit

Permalink
Fix jpeg mime type see #6
Browse files Browse the repository at this point in the history
This commit fixes the mime type to be in the proper format, closing issue #6
  • Loading branch information
michael-r-elp authored Oct 22, 2022
1 parent c3074b5 commit f911893
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Server/ServerHTTP.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -390,7 +390,7 @@ void STManager::HandleRequestHTTP(int client_sock) {
}
else LOG_DEBUG_HTTP("CoverImageUnchanged");

response = ResponseGen("200 OK", "image/jpg", /*stats*/ coverImageJPG);
response = ResponseGen("200 OK", "image/jpeg", /*stats*/ coverImageJPG);
SendResponseHTTP(client_sock, response);
return;
}
Expand Down

0 comments on commit f911893

Please sign in to comment.