Skip to content

Commit 56e3885

Browse files
fix (#1135)
rewrite path doc fixed Co-authored-by: Steven Chim <[email protected]>
1 parent 0a96f39 commit 56e3885

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

recipes/pathRewrite.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ const options = {
2323

2424
const apiProxy = createProxyMiddleware(options);
2525

26-
// `/old/api/foo/bar` -> `http://localhost:3000/new/api/foo/bar`
26+
// `/api/old-path/foo/bar` -> `http://localhost:3000/api/new-path/foo/bar`
2727
```
2828

2929
## remove paths

0 commit comments

Comments
 (0)