Skip to content

Commit 2473de3

Browse files
authored
Update README.md (typicode#1417)
The ? in line 374 was escaped with \\ which stops the custom route from working. It works without the slashes.
1 parent 26b52b9 commit 2473de3

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
@@ -371,7 +371,7 @@ Create a `routes.json` file. Pay attention to start every route with `/`.
371371
"/api/*": "/$1",
372372
"/:resource/:id/show": "/:resource/:id",
373373
"/posts/:category": "/posts?category=:category",
374-
"/articles\\?id=:id": "/posts/:id"
374+
"/articles?id=:id": "/posts/:id"
375375
}
376376
```
377377

0 commit comments

Comments
 (0)