Skip to content

Commit 2742fe9

Browse files
committed
docs: fix threshold documentation to match implementation
closes #144
1 parent fd7a4d4 commit 2742fe9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -126,8 +126,8 @@ is not set appropriately.
126126
##### threshold
127127

128128
The byte threshold for the response body size before compression is considered
129-
for the response, defaults to `1kb`. This is a number of bytes, any string
130-
accepted by the [bytes](https://www.npmjs.com/package/bytes) module, or `false`.
129+
for the response, defaults to `1kb`. This is a number of bytes or any string
130+
accepted by the [bytes](https://www.npmjs.com/package/bytes) module.
131131

132132
**Note** this is only an advisory setting; if the response size cannot be determined
133133
at the time the response headers are written, then it is assumed the response is

0 commit comments

Comments
 (0)