From fcf6398aaae0f8796b0e5c8aaecb27ca173aef18 Mon Sep 17 00:00:00 2001 From: bel Date: Fri, 28 Apr 2023 15:48:25 -0600 Subject: [PATCH] add .wasm MIME content type --- contenttype.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/contenttype.go b/contenttype.go index bca3c3c..964a823 100755 --- a/contenttype.go +++ b/contenttype.go @@ -64,6 +64,8 @@ func SetContentTypeIfMedia(w http.ResponseWriter, r *http.Request) { v = "application/octet-stream" case ".xml", ".rss", ".feed", ".rdf": v = "application/rss+xml" + case ".wasm": + v = "application/wasm" default: return }