add .wasm MIME content type

master
bel 2023-04-28 15:48:25 -06:00
parent 32da87640b
commit fcf6398aaa
1 changed files with 2 additions and 0 deletions

View File

@ -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
} }