mirror of
https://git.proxmox.com/git/pve-http-server
synced 2025-07-24 11:57:28 +00:00
add json/mp3/oga/svg filetypes
those are needed for the noVNC upgrade svg: button images mp3/oga: bell sound of terminal json: language files Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
This commit is contained in:
parent
967dcb7682
commit
3d12de14cc
@ -274,15 +274,19 @@ my $file_extension_info = {
|
||||
css => { ct => 'text/css' },
|
||||
html => { ct => 'text/html' },
|
||||
js => { ct => 'application/javascript' },
|
||||
json => { ct => 'application/json' },
|
||||
png => { ct => 'image/png' , nocomp => 1 },
|
||||
ico => { ct => 'image/x-icon', nocomp => 1},
|
||||
gif => { ct => 'image/gif', nocomp => 1},
|
||||
svg => { ct => 'image/svg+xml' },
|
||||
jar => { ct => 'application/java-archive', nocomp => 1},
|
||||
woff => { ct => 'application/font-woff', nocomp => 1},
|
||||
woff2 => { ct => 'application/font-woff2', nocomp => 1},
|
||||
ttf => { ct => 'application/font-snft', nocomp => 1},
|
||||
pdf => { ct => 'application/pdf', nocomp => 1},
|
||||
epub => { ct => 'application/epub+zip', nocomp => 1},
|
||||
mp3 => { ct => 'audio/mpeg', nocomp => 1},
|
||||
oga => { ct => 'audio/ogg', nocomp => 1},
|
||||
};
|
||||
|
||||
sub send_file_start {
|
||||
|
Loading…
Reference in New Issue
Block a user