Skip to content

Commit c68a5bc

Browse files
committed
Fixed typo in readme.md
1 parent 5466878 commit c68a5bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ server.use(router) // Mount router on '/'
143143
server.listen(3000)
144144
```
145145

146-
For an in-memory database, you can pass an object to `jsonServer.route()`.
146+
For an in-memory database, you can pass an object to `jsonServer.router()`.
147147
Please note also that `jsonServer.router()` can be used in existing Express projects.
148148

149149
### Deployment

0 commit comments

Comments
 (0)