mirror of
https://github.com/Fishwaldo/WLED.git
synced 2025-07-10 06:58:55 +00:00
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
2 changed files with 1795 additions and 1801 deletions
|
@ -76,7 +76,7 @@ function writeHtmlGzipped(sourceFile, resultFile) {
|
|||
}
|
||||
|
||||
html = adoptVersionAndRepo(html);
|
||||
zlib.gzip(html, function (error, result) {
|
||||
zlib.gzip(html, { level: zlib.constants.Z_BEST_COMPRESSION }, function (error, result) {
|
||||
if (error) {
|
||||
console.warn(error);
|
||||
throw error;
|
||||
|
|
3594
wled00/html_ui.h
3594
wled00/html_ui.h
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue