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

13 lines
220 B
JavaScript
Raw Normal View History

2016-11-09 12:12:59 +00:00
'use strict';
module.exports = function(server) {
// Install a `/` route that returns server status
var router = server.loopback.Router();
router.get('/', server.loopback.status());
server.use(router);
};