diff options
author | Mike Nikles <mikenikles@gmail.com> | 2020-05-14 15:56:29 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-14 11:56:29 -0400 |
commit | 0cbd432dc79bb37604815746f95cb1e6bad50570 (patch) | |
tree | 8f870f4849f8a0c099ab8615f0781bd0705f3049 /std/http/file_server.ts | |
parent | a2ba5a31a5ec8e011bb78baf531e29de4428b32e (diff) |
Add .css to the MEDIA_TYPES. (#5367)
Diffstat (limited to 'std/http/file_server.ts')
-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 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. */ |