summaryrefslogtreecommitdiff
path: root/cli/file_fetcher.rs
diff options
context:
space:
mode:
Diffstat (limited to 'cli/file_fetcher.rs')
-rw-r--r--cli/file_fetcher.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/cli/file_fetcher.rs b/cli/file_fetcher.rs
index 317850113..c3a576df5 100644
--- a/cli/file_fetcher.rs
+++ b/cli/file_fetcher.rs
@@ -529,6 +529,7 @@ fn map_content_type(path: &Path, content_type: Option<&str>) -> msg::MediaType {
map_js_like_extension(path, msg::MediaType::JavaScript)
}
"application/json" | "text/json" => msg::MediaType::Json,
+ "application/wasm" => msg::MediaType::Wasm,
// Handle plain and possibly webassembly
"text/plain" | "application/octet-stream" => map_file_extension(path),
_ => {