freeCodeCamp/server/boot/restApi.js

5 lines
138 B
JavaScript
Raw Normal View History

module.exports = function mountRestApi(app) {
var restApiRoot = app.get('restApiRoot');
app.use(restApiRoot, app.loopback.rest());
2015-06-03 00:27:02 +00:00
};