Skip to content

Commit

Permalink
[fix] Actually follow my own advice in edc77cd
Browse files Browse the repository at this point in the history
  • Loading branch information
indexzero committed Nov 29, 2012
1 parent fdaf986 commit 78a2ecd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/response-stream.js
Expand Up @@ -171,6 +171,6 @@ ResponseStream.prototype.redirect = function(path, status) {
url += (path[0] === '/') ? path : '/' + path; url += (path[0] === '/') ? path : '/' + path;
} }


this.response.writeHead(status || 302, { 'Location': url }); this.res.writeHead(status || 302, { 'Location': url });
this.response.end(); this.end();
}; };

0 comments on commit 78a2ecd

Please sign in to comment.