Merge pull request #259 from pktippa/master

Updated README with small code fix.
This commit is contained in:
Miroslav Bajtoš 2019-03-12 10:38:54 +01:00 committed by GitHub
commit b83d0c23a6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -48,7 +48,7 @@ To upgrade your application using loopback-explorer version 1.x, just replace
var explorer = require('loopback-component-explorer'); // Module was loopback-explorer in v. 2.0.1 and earlier
// v1.x - does not work anymore
app.use('/explorer', explorer(app, options);
app.use('/explorer', explorer(app, options));
// v2.x
app.use('/explorer', explorer.routes(app, options));
```