0
Fork 0
mirror of https://github.com/verdaccio/verdaccio.git synced 2025-02-17 23:45:29 -05:00

fix: 🐛 remove wrong code added in merge cause app crash

This commit is contained in:
Meeeeow 2017-07-22 02:25:00 +08:00
parent 8ff89a7141
commit c9c22ed080

View file

@ -127,9 +127,6 @@ module.exports = function(config, auth, storage) {
} else {
next(HTTPError[err.message ? 401 : 500](err.message));
}
let base = Utils.combineBaseUrl(Utils.getWebProtocol(req), req.get('host'), config.url_prefix);
res.redirect(base);
});
});