Skip to content

Commit a0d82f2

Browse files
committedApr 26, 2018
Add the .wasm MIME type.
1 parent e13ede8 commit a0d82f2

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)
Please sign in to comment.