summaryrefslogtreecommitdiff
path: root/std
diff options
context:
space:
mode:
authorStephan Seidt <stephan.seidt@gmail.com>2020-05-27 15:35:03 +0200
committerGitHub <noreply@github.com>2020-05-27 09:35:03 -0400
commit55d36006fc00768d1ddfaff8ea8abe6cd2b19e4b (patch)
treec5b088a8026d0147848dc9334c21369516238c73 /std
parentebae1a20d59a50a53c99a14019c841a10839f95f (diff)
Add wasm to media types (#5896)
Diffstat (limited to 'std')
-rwxr-xr-xstd/http/file_server.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/std/http/file_server.ts b/std/http/file_server.ts
index 81515b04b..4920eb13c 100755
--- a/std/http/file_server.ts
+++ b/std/http/file_server.ts
@@ -52,6 +52,7 @@ const MEDIA_TYPES: Record<string, string> = {
".jsx": "text/jsx",
".gz": "application/gzip",
".css": "text/css",
+ ".wasm": "application/wasm",
};
/** Returns the content-type based on the extension of a path. */