Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

[fix] broken RegExp

  • Loading branch information...
commit 549bfeac233888ec84edeec350ed5a7377f3773e 1 parent 4cc18f4
@dominictarr dominictarr authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  examples/gzip-middleware.js
View
2  examples/gzip-middleware.js
@@ -34,7 +34,7 @@ var util = require('util'),
//
httpProxy.createServer(
- require('connect-gzip').gzip({ matchType: /?:./ }),
+ require('connect-gzip').gzip({ matchType: /.?/ }),
9000, 'localhost'
).listen(8000);
Please sign in to comment.
Something went wrong with that request. Please try again.