Use maximum gzip compression (#1126)
* Use maximum gzip compression * Revert extra changes * Remove extra code used when testing brotli compression * Remove extra space on unrelated changes
This commit is contained in:
parent
41a84160ec
commit
916356afad
@ -76,7 +76,7 @@ function writeHtmlGzipped(sourceFile, resultFile) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
html = adoptVersionAndRepo(html);
|
html = adoptVersionAndRepo(html);
|
||||||
zlib.gzip(html, function (error, result) {
|
zlib.gzip(html, { level: zlib.constants.Z_BEST_COMPRESSION }, function (error, result) {
|
||||||
if (error) {
|
if (error) {
|
||||||
console.warn(error);
|
console.warn(error);
|
||||||
throw error;
|
throw error;
|
||||||
|
3594
wled00/html_ui.h
3594
wled00/html_ui.h
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user