diff --git a/lib/no-www.js b/lib/no-www.js index d7d8fba..e63594b 100644 --- a/lib/no-www.js +++ b/lib/no-www.js @@ -19,6 +19,7 @@ module.exports.scrubTheDub = function (req, res, redirectives) { if (!newLocation) { return false; } + newLocation = 'http://' + newLocation; } else { newLocation = 'https://' + hostname.replace(/^www\./, ''); }