diff options
author | Stephan Seidt <stephan.seidt@gmail.com> | 2020-05-27 15:35:03 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-27 09:35:03 -0400 |
commit | 55d36006fc00768d1ddfaff8ea8abe6cd2b19e4b (patch) | |
tree | c5b088a8026d0147848dc9334c21369516238c73 /std | |
parent | ebae1a20d59a50a53c99a14019c841a10839f95f (diff) |
Add wasm to media types (#5896)
Diffstat (limited to 'std')
-rwxr-xr-x | std/http/file_server.ts | 1 |
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. */ |