diff --git a/recipes/pathRewrite.md b/recipes/pathRewrite.md index 14dd6ec3..d04f860f 100644 --- a/recipes/pathRewrite.md +++ b/recipes/pathRewrite.md @@ -23,7 +23,7 @@ const options = { const apiProxy = createProxyMiddleware(options); -// `/old/api/foo/bar` -> `http://localhost:3000/new/api/foo/bar` +// `/api/old-path/foo/bar` -> `http://localhost:3000/api/new-path/foo/bar` ``` ## remove paths