mirror of
https://github.com/typicode/json-server.git
synced 2025-07-28 12:43:18 +08:00
Fixed typo in readme.md
This commit is contained in:
@ -143,7 +143,7 @@ server.use(router) // Mount router on '/'
|
|||||||
server.listen(3000)
|
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.
|
Please note also that `jsonServer.router()` can be used in existing Express projects.
|
||||||
|
|
||||||
### Deployment
|
### Deployment
|
||||||
|
Reference in New Issue
Block a user