Skip to content

Commit

Permalink
fix proxy
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Hayes committed Dec 18, 2014
1 parent b5d68ce commit 99cd9ff
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/controllers/getPackage.js
Expand Up @@ -56,9 +56,9 @@ function getPackage(respond, route, unpm) {
}

if(res.statusCode !== 200) {
route.res.writeHead(res.statusCode, res.headers)
respond.res.writeHead(res.statusCode, res.headers)

return route.res.end(data)
return respond.res.end(data)
}

try {
Expand Down

0 comments on commit 99cd9ff

Please sign in to comment.