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

9 lines
214 B
JavaScript
Raw Normal View History

2017-06-06 06:21:38 +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);
};