From 0626b853e6c50f90692ae993135a804430e96e4a Mon Sep 17 00:00:00 2001 From: Justin Vencel Date: Tue, 23 Jun 2015 23:41:42 -0700 Subject: [PATCH] Update rewriter code Actually, there is also a missing ")". --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 8cfc4de..5af868e 100644 --- a/README.md +++ b/README.md @@ -216,7 +216,7 @@ To add rewrite rules, use `jsonServer.rewriter()`: server.use(jsonServer.rewriter({ '/api/': '/', '/blog/:resource/:id/show': '/:resource/:id' -}) +})) ``` Alternatively, you can also mount the router on another path.