api server: add 'mo' as valid extension

So that we can serve gettext catalogs.

Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
This commit is contained in:
Dietmar Maurer 2025-07-25 12:32:19 +02:00
parent 4e45c80b8e
commit dc211b3700

View File

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