add aif/aiff to compressable

This commit is contained in:
zefie
2021-08-13 01:30:52 -04:00
parent 3d5bddf653
commit bef2f9e248
2 changed files with 2 additions and 4 deletions

View File

@@ -632,9 +632,7 @@ async function sendToClient(socket, headers_obj, data) {
case 2:
// zlib gzip implementation
headers_obj['Content-Encoding'] = 'gzip';
data = zlib.gzipSync(data, {
'level': 9
});
data = zlib.gzipSync(data);
break;
}