Skip to content

Commit

Permalink
Add wasm to media types (denoland/deno#5896)
Browse files Browse the repository at this point in the history
  • Loading branch information
seidtgeist authored and caspervonb committed Jan 24, 2021
1 parent f91d57d commit bbc808d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions http/file_server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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. */
Expand Down

0 comments on commit bbc808d

Please sign in to comment.