changeset 2856:49b152059472

added mime type for WASM
author am@osimis.io
date Wed, 03 Oct 2018 14:59:52 +0200
parents 706da802f1e3
children 482631e4e290
files Core/Toolbox.cpp
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
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"))