Fixed typo in readme.md

This commit is contained in:
Andrea de la Isla
2015-05-20 12:51:57 +02:00
parent 5466878236
commit c68a5bcd76

View File

@ -143,7 +143,7 @@ server.use(router) // Mount router on '/'
server.listen(3000)
```
For an in-memory database, you can pass an object to `jsonServer.route()`.
For an in-memory database, you can pass an object to `jsonServer.router()`.
Please note also that `jsonServer.router()` can be used in existing Express projects.
### Deployment