From 0cbd432dc79bb37604815746f95cb1e6bad50570 Mon Sep 17 00:00:00 2001 From: Mike Nikles Date: Thu, 14 May 2020 15:56:29 +0000 Subject: Add .css to the MEDIA_TYPES. (#5367) --- std/http/file_server.ts | 1 + 1 file changed, 1 insertion(+) (limited to 'std') 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 = { ".js": "application/javascript", ".jsx": "text/jsx", ".gz": "application/gzip", + ".css": "text/css", }; /** Returns the content-type based on the extension of a path. */ -- cgit v1.2.3