From 0ed9932b12e8a5d423657a1dfe0fb27b2774c0d8 Mon Sep 17 00:00:00 2001 From: Dominik Csapak Date: Thu, 10 Jul 2025 12:28:11 +0200 Subject: [PATCH] api server: add 'wasm' as valid extension otherwise the server won't serve wasm files to the client. Signed-off-by: Dominik Csapak Link: https://lore.proxmox.com/20250710102812.2480856-2-d.csapak@proxmox.com --- src/PVE/APIServer/AnyEvent.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/src/PVE/APIServer/AnyEvent.pm b/src/PVE/APIServer/AnyEvent.pm index a37f4f8..f6e413b 100644 --- a/src/PVE/APIServer/AnyEvent.pm +++ b/src/PVE/APIServer/AnyEvent.pm @@ -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 {