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

9 lines
186 B
JavaScript
Raw Normal View History

2016-11-07 09:06:28 +00:00
module.exports = function(server) {
2017-05-17 19:23:47 +00:00
server.enableAuth();
2016-11-08 08:07:39 +00:00
2017-05-17 19:23:47 +00:00
var router = server.loopback.Router();
router.get('/status', server.loopback.status());
server.use(router);
2016-11-07 09:06:28 +00:00
};