Skip to content

Commit

Permalink
Fixing routes where prefix is used
Browse files Browse the repository at this point in the history
  • Loading branch information
tomgco committed Oct 17, 2012
1 parent 769480c commit 751fe97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/staticGzip.js
Expand Up @@ -130,7 +130,7 @@ exports = module.exports = function staticGzip(dirPath, options){
method;

function pass(name) {
send(req, url)
send(req, url.substring(prefix.length))
.maxage(clientMaxAge || 0)
.root(dirPath)
.pipe(res)
Expand Down

0 comments on commit 751fe97

Please sign in to comment.