Mercurial > hg > orthanc
diff Core/Toolbox.cpp @ 2856:49b152059472
added mime type for WASM
author | am@osimis.io |
---|---|
date | Wed, 03 Oct 2018 14:59:52 +0200 |
parents | e0476e8cb73d |
children | 668d5ad73c74 |
line wrap: on
line diff
--- a/Core/Toolbox.cpp Tue Oct 02 17:24:55 2018 +0200 +++ b/Core/Toolbox.cpp Wed Oct 03 14:59:52 2018 +0200 @@ -343,6 +343,8 @@ contentType = "application/json"; else if (!strcmp(extension, "pdf")) contentType = "application/pdf"; + else if (!strcmp(extension, "wasm")) + contentType = "application/wasm"; // Images types else if (!strcmp(extension, "jpg") || !strcmp(extension, "jpeg"))