Mercurial > hg > orthanc
changeset 2857:482631e4e290
added mime type for WASM in WebSkeleton
author | am@osimis.io |
---|---|
date | Wed, 03 Oct 2018 16:13:19 +0200 |
parents | 49b152059472 |
children | 39b171502059 9b4251721f22 |
files | Plugins/Samples/WebSkeleton/Framework/Plugin.cpp |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/Plugins/Samples/WebSkeleton/Framework/Plugin.cpp Wed Oct 03 14:59:52 2018 +0200 +++ b/Plugins/Samples/WebSkeleton/Framework/Plugin.cpp Wed Oct 03 16:13:19 2018 +0200 @@ -66,6 +66,10 @@ { return "application/xml"; } + else if (extension == ".wasm") + { + return "application/wasm"; + } else if (extension == ".png") { return "image/png";