Replies: 18 comments
-
Capture groups are not supported. You can provide a custom function to do the path rewriting the way you want: |
Beta Was this translation helpful? Give feedback.
-
@chimurai Thanks! Then never mind, I'll leave this as a feature request. |
Beta Was this translation helpful? Give feedback.
-
Will consider adding it if more users have to need for this. |
Beta Was this translation helpful? Give feedback.
-
+1. This would be awesome |
Beta Was this translation helpful? Give feedback.
-
+1, that would be dope |
Beta Was this translation helpful? Give feedback.
-
I am having an issue getting
pathRewrite
to match a regex pattern incontext
to variables intarget
.Expected behavior
It should map a regex pattern with expressions (e.g.
(.*)
) to variables (e.g.$1
).Actual behavior
Proxy is not being created and the Express route yields 404.
Setup
proxy middleware configuration
Is this functionality supported?
Beta Was this translation helpful? Give feedback.
All reactions