Skip to content

Commit

Permalink
Merge pull request #6505 from AnalyticalGraphicsInc/wasm-mime
Browse files Browse the repository at this point in the history
Add the .wasm MIME type.
  • Loading branch information
mramato authored Apr 26, 2018
2 parents e13ede8 + a0d82f2 commit 2deae56
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions server.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
var mime = express.static.mime;
mime.define({
'application/json' : ['czml', 'json', 'geojson', 'topojson'],
'application/wasm' : ['wasm'],
'image/crn' : ['crn'],
'image/ktx' : ['ktx'],
'model/gltf+json' : ['gltf'],
Expand Down
2 changes: 2 additions & 0 deletions web.config
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@
<mimeMap fileExtension=".geojson" mimeType="application/json" />
<remove fileExtension=".topojson" />
<mimeMap fileExtension=".topojson" mimeType="application/json" />
<remove fileExtension=".wasm" />
<mimeMap fileExtension=".wasm" mimeType="application/wasm" />
<remove fileExtension=".woff" />
<mimeMap fileExtension=".woff" mimeType="application/font-woff" />
<remove fileExtension=".woff2" />
Expand Down

0 comments on commit 2deae56

Please sign in to comment.