diff --git a/contenttype.go b/contenttype.go index 535bbe8..a6d2c9a 100755 --- a/contenttype.go +++ b/contenttype.go @@ -44,7 +44,6 @@ func SetContentTypeIfMedia(w http.ResponseWriter, r *http.Request) { v = "image/jpeg" case ".wasm": v = "application/wasm" - case ".aac": v = "audio/aac" case ".abw": @@ -84,6 +83,8 @@ func SetContentTypeIfMedia(w http.ResponseWriter, r *http.Request) { v = "application/gzip" if strings.HasSuffix(r.URL.Path, ".js.gz") { v = "application/javascript" + } else if strings.HasSuffix(r.URL.Path, ".wasm.gz") { + v = "application/wasm" } case ".gif": v = "image/gif"