commit:     2e8c5be63e3ed15b9990a3e72aced27d78eb74b0
Author:     Daniel Mueller <deso <AT> posteo <DOT> net>
AuthorDate: Sat Dec 26 19:13:38 2020 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Mon Jan 18 09:27:38 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2e8c5be6

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 <AT> posteo.net>
Closes: https://github.com/gentoo/gentoo/pull/18818
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 www-servers/lighttpd/files/conf/mime-types.conf | 1 +
 1 file changed, 1 insertion(+)

diff --git a/www-servers/lighttpd/files/conf/mime-types.conf 
b/www-servers/lighttpd/files/conf/mime-types.conf
index e2a72e2d2e7..8703d4ced21 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",

Reply via email to