web: fix WASM MIME type

pull/512/head
Jakub Onderka 5 years ago committed by GitHub
parent e70975e692
commit 125775a737
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      web/rootfs/defaults/nginx.conf

@ -26,7 +26,11 @@ http {
client_max_body_size 0; 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; default_type application/octet-stream;
## ##

Loading…
Cancel
Save