chore(nodeserver): fix log message for 301 response

This commit is contained in:
Steven Davidson 2013-02-19 18:19:52 +00:00 committed by Igor Minar
parent 4759aacba9
commit 6be24df5bc

View file

@ -187,7 +187,7 @@ StaticServlet.prototype.sendRedirect_ = function(req, res, redirectUrl) {
'">here</a>.</p>' '">here</a>.</p>'
); );
res.end(); res.end();
sys.puts('401 Moved Permanently: ' + redirectUrl); sys.puts('301 Moved Permanently: ' + redirectUrl);
}; };
StaticServlet.prototype.sendFile_ = function(req, res, path) { StaticServlet.prototype.sendFile_ = function(req, res, path) {