Skip to content

Commit c36933d

Browse files
damycraIgorMinar
authored andcommitted
chore(nodeserver): fix log message for 301 response
1 parent bec614f commit c36933d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/nodeserver/server.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ StaticServlet.prototype.sendRedirect_ = function(req, res, redirectUrl) {
187187
'">here</a>.</p>'
188188
);
189189
res.end();
190-
sys.puts('401 Moved Permanently: ' + redirectUrl);
190+
sys.puts('301 Moved Permanently: ' + redirectUrl);
191191
};
192192

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

0 commit comments

Comments
 (0)