5 lines
150 B
JavaScript
5 lines
150 B
JavaScript
|
module.exports = function mountRestApi(server) {
|
||
|
var restApiRoot = server.get('restApiRoot');
|
||
|
server.use(restApiRoot, server.loopback.rest());
|
||
|
};
|