Skip to content

Commit 549bfea

Browse files
committed
[fix] broken RegExp
1 parent 4cc18f4 commit 549bfea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/gzip-middleware.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ var util = require('util'),
3434
//
3535

3636
httpProxy.createServer(
37-
require('connect-gzip').gzip({ matchType: /?:./ }),
37+
require('connect-gzip').gzip({ matchType: /.?/ }),
3838
9000, 'localhost'
3939
).listen(8000);
4040

0 commit comments

Comments
 (0)