added favicon
This commit is contained in:
@@ -164,6 +164,7 @@ std::string get_mime_type(const std::string& path) {
|
||||
if (path.ends_with(".woff")) return "font/woff";
|
||||
if (path.ends_with(".woff2")) return "font/woff2";
|
||||
if (path.ends_with(".pdf")) return "application/pdf";
|
||||
if (path.ends_with(".ico")) return "image/x-icon";
|
||||
return "application/octet-stream";
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user