rest-server: add wasm content type
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
@ -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),
|
||||
};
|
||||
}
|
||||
|
Reference in New Issue
Block a user