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"
|
||||
case ".xml", ".rss", ".feed", ".rdf":
|
||||
v = "application/rss+xml"
|
||||
case ".wasm":
|
||||
v = "application/wasm"
|
||||
default:
|
||||
return
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue