Skip to content

Commit

Permalink
web: fix WASM MIME type
Browse files Browse the repository at this point in the history
  • Loading branch information
JakubOnderka authored Apr 22, 2020
1 parent e70975e commit 125775a
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion web/rootfs/defaults/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,11 @@ http {

client_max_body_size 0;

include /etc/nginx/mime.types;
include /etc/nginx/mime.types;
types {
# add support for wasm MIME type, that is required by specification and it is not part of default mime.types file
application/wasm wasm;
}
default_type application/octet-stream;

##
Expand Down

0 comments on commit 125775a

Please sign in to comment.