web: fix WASM MIME type

This commit is contained in:
Jakub Onderka 2020-04-22 10:52:53 +02:00 committed by GitHub
parent e70975e692
commit 125775a737
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 1 deletions

View File

@ -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;
##