Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fix_vhost redirect with 302 status code

  • Loading branch information...
commit 6e1576b34a4c878b8eebca80dc5f4eba2aa96d43 1 parent 1f35f63
@ixti ixti authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/init/server/http/fix_vhost.js
View
2  lib/init/server/http/fix_vhost.js
@@ -47,5 +47,5 @@ module.exports = function fix_vhost(params, callback) {
host += ':' + nodeca.config.listen.port;
}
- callback({statusCode: 301, headers: {'Location': 'http://' + host}});
+ callback({statusCode: 302, headers: {'Location': 'http://' + host}});
};
Please sign in to comment.
Something went wrong with that request. Please try again.