0
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2025-02-01 20:25:12 -05:00

Add wasm to media types (#5896)

This commit is contained in:
Stephan Seidt 2020-05-27 15:35:03 +02:00 committed by GitHub
parent ebae1a20d5
commit 55d36006fc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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. */