Skip to content

Commit 2deae56

Browse files
authored
Merge pull request #6505 from AnalyticalGraphicsInc/wasm-mime
Add the .wasm MIME type.
2 parents e13ede8 + a0d82f2 commit 2deae56

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

server.js

+1
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@
4242
var mime = express.static.mime;
4343
mime.define({
4444
'application/json' : ['czml', 'json', 'geojson', 'topojson'],
45+
'application/wasm' : ['wasm'],
4546
'image/crn' : ['crn'],
4647
'image/ktx' : ['ktx'],
4748
'model/gltf+json' : ['gltf'],

web.config

+2
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@
2626
<mimeMap fileExtension=".geojson" mimeType="application/json" />
2727
<remove fileExtension=".topojson" />
2828
<mimeMap fileExtension=".topojson" mimeType="application/json" />
29+
<remove fileExtension=".wasm" />
30+
<mimeMap fileExtension=".wasm" mimeType="application/wasm" />
2931
<remove fileExtension=".woff" />
3032
<mimeMap fileExtension=".woff" mimeType="application/font-woff" />
3133
<remove fileExtension=".woff2" />

0 commit comments

Comments
 (0)