Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Brotli zlib.constants.BROTLI_MIN_QUALITY defaults to BROTLI_DEFAULT_QUALITY #63

Open
MaMa opened this issue Feb 7, 2022 · 0 comments
Open

Comments

@MaMa
Copy link

MaMa commented Feb 7, 2022

Zlib constant zlib.constants.BROTLI_MIN_QUALITY is 0 which evaluates to falsy and BROTLI_DEFAULT_QUALITY (=4) is used instead.

brotliOpts.quality = brotliOpts.quality || BROTLI_DEFAULT_QUALITY;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant