Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

[fix] Actually follow my own advice in edc77cd

  • Loading branch information...
commit 78a2ecd3facaa3f7c6e23129c1c5f8fe9e4a3396 1 parent fdaf986
@indexzero indexzero authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/response-stream.js
View
4 lib/response-stream.js
@@ -171,6 +171,6 @@ ResponseStream.prototype.redirect = function(path, status) {
url += (path[0] === '/') ? path : '/' + path;
}
- this.response.writeHead(status || 302, { 'Location': url });
- this.response.end();
+ this.res.writeHead(status || 302, { 'Location': url });
+ this.end();
};
Please sign in to comment.
Something went wrong with that request. Please try again.