mirror of
https://github.com/verdaccio/verdaccio.git
synced 2025-01-06 22:40:26 -05:00
replacing connect.bodyParser with connect.json
This commit is contained in:
parent
566f2c4896
commit
b9cb60da64
1 changed files with 1 additions and 1 deletions
|
@ -40,7 +40,7 @@ module.exports = function(config_hash) {
|
|||
app.use(basic_auth(function(user, pass) {
|
||||
return config.authenticate(user, pass);
|
||||
}));
|
||||
app.use(express.bodyParser({strict: false}));
|
||||
app.use(express.json({strict: false}));
|
||||
|
||||
// TODO: npm DO NOT support compression :(
|
||||
app.use(express.compress());
|
||||
|
|
Loading…
Reference in a new issue