-
Notifications
You must be signed in to change notification settings - Fork 823
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AddPathRemovePrefix does not work #2429
Comments
Can you clarify what you mean by "does not work"? What URLs were you testing with / do you have other routes registered?
|
I need to remove the prefix /sample/anything when using the proxy, but the prefix cannot be removed when using /sample/{**catch-all}. |
It can, Are you sure your requests are matching the correct route? "LogLevel": {
"Default": "Debug",
"Microsoft": "Debug",
"Microsoft.Hosting.Lifetime": "Information"
} Otherwise can you provide a full repro project that we can look at? |
I tried the demo and it seemed to work |
I tried the demo and it seemed to work |
Describe the bug
When using the default
Is valid, but currently in use
I need to block all routes forwarded to the service under '/sample/' and forward them without '/sample'
To Reproduce
Further technical details
The text was updated successfully, but these errors were encountered: