From 55d36006fc00768d1ddfaff8ea8abe6cd2b19e4b Mon Sep 17 00:00:00 2001 From: Stephan Seidt Date: Wed, 27 May 2020 15:35:03 +0200 Subject: Add wasm to media types (#5896) --- std/http/file_server.ts | 1 + 1 file changed, 1 insertion(+) (limited to 'std/http/file_server.ts') diff --git a/std/http/file_server.ts b/std/http/file_server.ts index 81515b04b..4920eb13c 100755 --- a/std/http/file_server.ts +++ b/std/http/file_server.ts @@ -52,6 +52,7 @@ const MEDIA_TYPES: Record = { ".jsx": "text/jsx", ".gz": "application/gzip", ".css": "text/css", + ".wasm": "application/wasm", }; /** Returns the content-type based on the extension of a path. */ -- cgit v1.2.3