6 lines
		
	
	
		
			167 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			6 lines
		
	
	
		
			167 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
| module.exports = function mountRestApi(app) {
 | |
|   const restApi = app.loopback.rest();
 | |
|   const restApiRoot = app.get('restApiRoot');
 | |
|   app.use(restApiRoot, restApi);
 | |
| };
 |