mirror of
https://git.proxmox.com/git/proxmox
synced 2025-10-04 23:08:26 +00:00
rest-server: add wasm content type
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
parent
b4bb3feef3
commit
1f373b9276
@ -611,6 +611,7 @@ fn extension_to_content_type(filename: &Path) -> (&'static str, bool) {
|
|||||||
"mp3" => ("audio/mpeg", true),
|
"mp3" => ("audio/mpeg", true),
|
||||||
"oga" => ("audio/ogg", true),
|
"oga" => ("audio/ogg", true),
|
||||||
"tgz" => ("application/x-compressed-tar", true),
|
"tgz" => ("application/x-compressed-tar", true),
|
||||||
|
"wasm" => ("application/wasm", true),
|
||||||
_ => ("application/octet-stream", false),
|
_ => ("application/octet-stream", false),
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user