diff --git a/index.js b/index.js index 79d426c..810b987 100644 --- a/index.js +++ b/index.js @@ -143,7 +143,7 @@ Mod.prototype.callback = function (req, res, serverconsole, responseEnd, href, e } } - if (code < 300 && code > 399 && hasLocation) { + if ((code < 300 || code > 399) && hasLocation) { code = 302; msg = "Found"; }