module.exports = function(server) { server.enableAuth(); var router = server.loopback.Router(); router.get('/status', server.loopback.status()); server.use(router); };