mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2025-01-10 21:09:38 +01:00
Added more mimetypes to the HTTPServerSimple.
This commit is contained in:
parent
1cb112f64c
commit
517a5b9044
@ -491,6 +491,12 @@ HTTPServerSimple::HTTPServerSimple() {
|
|||||||
mimes["jpeg"] = "image/jpeg";
|
mimes["jpeg"] = "image/jpeg";
|
||||||
mimes["wasm"] = "application/wasm";
|
mimes["wasm"] = "application/wasm";
|
||||||
mimes["css"] = "text/css";
|
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();
|
server.instance();
|
||||||
stop();
|
stop();
|
||||||
|
Loading…
Reference in New Issue
Block a user