mirror of
https://github.com/verdaccio/verdaccio.git
synced 2025-03-25 02:32:52 -05:00
npmjs returns an emtpy object
This commit is contained in:
parent
4ee0ca29d4
commit
aaedc13d2c
2 changed files with 6 additions and 7 deletions
|
@ -474,10 +474,9 @@ module.exports = function(config, auth, storage) {
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
// npm ping
|
// npm ping
|
||||||
|
|
||||||
app.get('/-/ping', function(req, res, next) {
|
app.get('/-/ping', function(req, res, next) {
|
||||||
next({pong: new Date()});
|
next({});
|
||||||
});
|
});
|
||||||
|
|
||||||
return app;
|
return app;
|
||||||
|
|
|
@ -10,10 +10,10 @@ const MyStreams = require('./streams');
|
||||||
const Proxy = require('./up-storage');
|
const Proxy = require('./up-storage');
|
||||||
const Utils = require('./utils');
|
const Utils = require('./utils');
|
||||||
|
|
||||||
//
|
/**
|
||||||
// Implements Storage interface
|
* Implements Storage interface
|
||||||
// (same for storage.js, local-storage.js, up-storage.js)
|
* (same for storage.js, local-storage.js, up-storage.js).
|
||||||
//
|
*/
|
||||||
class Storage {
|
class Storage {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Add table
Reference in a new issue