api server: add 'wasm' as valid extension

otherwise the server won't serve wasm files to the client.

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Link: https://lore.proxmox.com/20250710102812.2480856-2-d.csapak@proxmox.com
This commit is contained in:
Dominik Csapak 2025-07-10 12:28:11 +02:00 committed by Thomas Lamprecht
parent 29c7e106b6
commit 0ed9932b12

View File

@ -429,6 +429,7 @@ my $file_extension_info = {
mp3 => { ct => 'audio/mpeg', nocomp => 1 },
oga => { ct => 'audio/ogg', nocomp => 1 },
tgz => { ct => 'application/x-compressed-tar', nocomp => 1 },
wasm => { ct => 'application/wasm' },
};
sub send_file_start {