summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Mueller <deso@posteo.net>2020-12-26 11:13:38 -0800
committerJoonas Niilola <juippis@gentoo.org>2021-01-18 11:27:38 +0200
commit2e8c5be63e3ed15b9990a3e72aced27d78eb74b0 (patch)
tree036afd84759d5fe7d44a332b53c4c0dc669f2370 /www-servers/lighttpd
parentgui-apps/wayland-logout: drop old version (diff)
downloadgentoo-2e8c5be63e3ed15b9990a3e72aced27d78eb74b0.tar.gz
gentoo-2e8c5be63e3ed15b9990a3e72aced27d78eb74b0.tar.bz2
gentoo-2e8c5be63e3ed15b9990a3e72aced27d78eb74b0.zip
www-server/lighttpd: Support wasm files
.wasm files should be served with the application/wasm MIME type or some features such as proper streamed loading and compilation may not be used by browsers. This change adjusts the lighttpd ebuild to include such a setting in its MIME type configuration. Signed-off-by: Daniel Müller <deso@posteo.net> Closes: https://github.com/gentoo/gentoo/pull/18818 Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'www-servers/lighttpd')
-rw-r--r--www-servers/lighttpd/files/conf/mime-types.conf1
1 files changed, 1 insertions, 0 deletions
diff --git a/www-servers/lighttpd/files/conf/mime-types.conf b/www-servers/lighttpd/files/conf/mime-types.conf
index e2a72e2d2e76..8703d4ced216 100644
--- a/www-servers/lighttpd/files/conf/mime-types.conf
+++ b/www-servers/lighttpd/files/conf/mime-types.conf
@@ -12,6 +12,7 @@ mimetype.assign = (
".spl" => "application/futuresplash",
".class" => "application/octet-stream",
".ps" => "application/postscript",
+ ".wasm" => "application/wasm",
".torrent" => "application/x-bittorrent",
".dvi" => "application/x-dvi",
".gz" => "application/x-gzip",