rest-server: add wasm content type

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
Wolfgang Bumiller
2023-01-31 11:04:26 +01:00
parent b4bb3feef3
commit 1f373b9276

View File

@ -611,6 +611,7 @@ fn extension_to_content_type(filename: &Path) -> (&'static str, bool) {
"mp3" => ("audio/mpeg", true),
"oga" => ("audio/ogg", true),
"tgz" => ("application/x-compressed-tar", true),
"wasm" => ("application/wasm", true),
_ => ("application/octet-stream", false),
};
}