13 lines
220 B
JavaScript
13 lines
220 B
JavaScript
|
'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);
|
||
|
|
||
|
};
|
||
|
|
||
|
|