Updated README with small code fix.

This commit is contained in:
Pradeep Kumar Tippa 2019-03-12 11:25:32 +05:30
parent 8274f2b1fa
commit df43c009a1
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));
```