Skip to content
This repository has been archived by the owner on Apr 12, 2024. It is now read-only.

Commit

Permalink
chore(nodeserver): fix log message for 301 response
Browse files Browse the repository at this point in the history
  • Loading branch information
damycra authored and IgorMinar committed Feb 24, 2013
1 parent bec614f commit c36933d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/nodeserver/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ StaticServlet.prototype.sendRedirect_ = function(req, res, redirectUrl) {
'">here</a>.</p>'
);
res.end();
sys.puts('401 Moved Permanently: ' + redirectUrl);
sys.puts('301 Moved Permanently: ' + redirectUrl);
};

StaticServlet.prototype.sendFile_ = function(req, res, path) {
Expand Down

0 comments on commit c36933d

Please sign in to comment.