1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-26 16:09:27 -05:00

Add .css to the MEDIA_TYPES. (#5367)

This commit is contained in:
Mike Nikles 2020-05-14 15:56:29 +00:00 committed by GitHub
parent a2ba5a31a5
commit 0cbd432dc7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -51,6 +51,7 @@ const MEDIA_TYPES: Record<string, string> = {
".js": "application/javascript",
".jsx": "text/jsx",
".gz": "application/gzip",
".css": "text/css",
};
/** Returns the content-type based on the extension of a path. */