Added more mimetypes to the HTTPServerSimple.

This commit is contained in:
Relintai 2023-03-22 14:00:18 +01:00
parent 1cb112f64c
commit 517a5b9044

View File

@ -491,6 +491,12 @@ HTTPServerSimple::HTTPServerSimple() {
mimes["jpeg"] = "image/jpeg";
mimes["wasm"] = "application/wasm";
mimes["css"] = "text/css";
mimes["pdf"] = "application/pdf";
mimes["mp4"] = "video/mp4";
mimes["zip"] = "application/zip";
mimes["rar"] = "application/vnd.rar";
mimes["txt"] = "text/plain";
mimes["md"] = "text/markdown";
server.instance();
stop();