salix/services/auth/server/boot/root.js

9 lines
186 B
JavaScript

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