loopback-component-storage/example-2.0/server/boot/rest-api.js

5 lines
150 B
JavaScript

module.exports = function mountRestApi(server) {
var restApiRoot = server.get('restApiRoot');
server.use(restApiRoot, server.loopback.rest());
};