commit
e625391cf6
|
@ -278,4 +278,3 @@ exports.download = function(provider, req, res, container, file, cb) {
|
|||
}
|
||||
}
|
||||
};
|
||||
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
"eslint": "^2.13.1",
|
||||
"eslint-config-loopback": "^4.0.0",
|
||||
"express": "^4.11.0",
|
||||
"loopback": "^2.10.0",
|
||||
"loopback": "^3.0.0",
|
||||
"mkdirp": "^0.5.0",
|
||||
"mocha": "^2.1.0",
|
||||
"supertest": "^0.15.0"
|
||||
|
|
|
@ -11,6 +11,9 @@ var assert = require('assert');
|
|||
var app = loopback();
|
||||
var path = require('path');
|
||||
|
||||
// configure errorHandler to show full error message
|
||||
app.set('remoting', {errorHandler: {debug: true, log: false}});
|
||||
|
||||
// expose a rest api
|
||||
app.use(loopback.rest());
|
||||
|
||||
|
|
Loading…
Reference in New Issue