add .wasm MIME content type
This commit is contained in:
@@ -64,6 +64,8 @@ func SetContentTypeIfMedia(w http.ResponseWriter, r *http.Request) {
|
|||||||
v = "application/octet-stream"
|
v = "application/octet-stream"
|
||||||
case ".xml", ".rss", ".feed", ".rdf":
|
case ".xml", ".rss", ".feed", ".rdf":
|
||||||
v = "application/rss+xml"
|
v = "application/rss+xml"
|
||||||
|
case ".wasm":
|
||||||
|
v = "application/wasm"
|
||||||
default:
|
default:
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user