You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

22 lines
261 B

10 years ago
var pkg = require('../package');
function setup(){
10 years ago
function controller( req, res, next ){
// stats
res.json({
name: pkg.name,
version: {
number: pkg.version
}
});
}
return controller;
10 years ago
10 years ago
}
module.exports = setup;