diff --git a/lib/index-api.js b/lib/index-api.js index f9cb68610..2b0d9a2ab 100644 --- a/lib/index-api.js +++ b/lib/index-api.js @@ -474,6 +474,12 @@ module.exports = function(config, auth, storage) { }); }); + // npm ping + + app.get('/-/ping', function(req, res, next) { + next({pong: new Date()}); + }); + return app; };