add .wasm MIME content type
parent
32da87640b
commit
fcf6398aaa
|
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue