feat(httpserver): improved mimetype handling for frontend files (#1481)

This commit is contained in:
Kostiantyn Levytskyi
2025-01-04 11:41:36 +02:00
committed by GitHub
parent 48755f3008
commit 0efec12de6
3 changed files with 9 additions and 5 deletions

View File

@ -8,6 +8,8 @@ extern const char httpMimeTypeText[]; // TEXT MIME type
extern const char httpMimeTypeJson[];
extern const char httpMimeTypeBinary[];
extern const char httpMimeTypeXML[];
extern const char httpMimeTypeCSS[]; // CSS MIME type
extern const char httpMimeTypeJavascript[]; // JS MIME type
extern const char htmlShortcutIcon[];
extern const char htmlDoctype[];