add DOOM WADs to compression whitelist

This commit is contained in:
zefie
2021-08-10 21:42:32 -04:00
parent 3dd6e51832
commit d914710d94

View File

@@ -75,7 +75,8 @@ class WTVMime {
// gzip only
if (content_type.match(/^audio\/(x-)?[s3m|mod|xm]$/)) compress_data = true; // s3m, mod, xm
if (content_type.match(/^audio\/(x-)?[midi|wav|wave]$/)) compress_data = true; // midi & wav
if (content_type.match(/^binary\/x-wtv-approm$/)) compress_data = true; // approms
if (content_type.match(/^binary\/x-wtv-approm$/)) compress_data = true; // approms
if (content_type.match(/^binary\/doom-data$/)) compress_data = true; // DOOM WADs
}
}
}