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:
parent
8ff89a7141
commit
c9c22ed080
1 changed files with 0 additions and 3 deletions
|
@ -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);
|
||||
});
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue