mirror of
https://git.proxmox.com/git/pve-http-server
synced 2025-10-28 11:54:34 +00:00
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:
parent
29c7e106b6
commit
0ed9932b12
@ -429,6 +429,7 @@ my $file_extension_info = {
|
|||||||
mp3 => { ct => 'audio/mpeg', nocomp => 1 },
|
mp3 => { ct => 'audio/mpeg', nocomp => 1 },
|
||||||
oga => { ct => 'audio/ogg', nocomp => 1 },
|
oga => { ct => 'audio/ogg', nocomp => 1 },
|
||||||
tgz => { ct => 'application/x-compressed-tar', nocomp => 1 },
|
tgz => { ct => 'application/x-compressed-tar', nocomp => 1 },
|
||||||
|
wasm => { ct => 'application/wasm' },
|
||||||
};
|
};
|
||||||
|
|
||||||
sub send_file_start {
|
sub send_file_start {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user