From e2e693e1cf98d69ba19e07d6130c1bf3cc2c049d Mon Sep 17 00:00:00 2001 From: Luca Weiss Date: Tue, 30 Jun 2020 19:27:43 +0200 Subject: [PATCH] Add application/wasm mimetype Useful for serving wasm files. See https://github.com/ruffle-rs/ruffle/wiki/Using-Ruffle#configure-wasm-mime-type --- darkhttpd.c | 1 + 1 file changed, 1 insertion(+) diff --git a/darkhttpd.c b/darkhttpd.c index 8fdc017..eb57105 100644 --- a/darkhttpd.c +++ b/darkhttpd.c @@ -310,6 +310,7 @@ static gid_t drop_gid = INVALID_GID; static const char *default_extension_map[] = { "application/ogg" " ogg", "application/pdf" " pdf", + "application/wasm" " wasm", "application/xml" " xsl xml", "application/xml-dtd" " dtd", "application/xslt+xml" " xslt",