added favicon

This commit is contained in:
2026-02-17 17:48:37 +01:00
parent 58d37b51b7
commit d758bbd62c
17 changed files with 56 additions and 55 deletions

View File

@@ -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";
}