summaryrefslogtreecommitdiff
path: root/std/http/file_server.ts
diff options
context:
space:
mode:
authorMike Nikles <mikenikles@gmail.com>2020-05-14 15:56:29 +0000
committerGitHub <noreply@github.com>2020-05-14 11:56:29 -0400
commit0cbd432dc79bb37604815746f95cb1e6bad50570 (patch)
tree8f870f4849f8a0c099ab8615f0781bd0705f3049 /std/http/file_server.ts
parenta2ba5a31a5ec8e011bb78baf531e29de4428b32e (diff)
Add .css to the MEDIA_TYPES. (#5367)
Diffstat (limited to 'std/http/file_server.ts')
-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 6a2d76805..10bb507ce 100755
--- a/std/http/file_server.ts
+++ b/std/http/file_server.ts
@@ -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. */