From 3e154a75013123f813503c5f1fb6263e5ba194ba Mon Sep 17 00:00:00 2001 From: David Longworth Date: Thu, 1 Jun 2017 11:00:08 +0100 Subject: [PATCH] feat: change redirect status code #173 --- dadi/lib/api/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dadi/lib/api/index.js b/dadi/lib/api/index.js index 4f0899c5..6693a9b1 100755 --- a/dadi/lib/api/index.js +++ b/dadi/lib/api/index.js @@ -284,7 +284,7 @@ Api.prototype.redirectListener = function (req, res) { var location = 'https://' + hostname + ':' + port + req.url res.setHeader('Location', location) - res.statusCode = 301 + res.statusCode = 302 res.end() }