-
Notifications
You must be signed in to change notification settings - Fork 486
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
Nitro DevProxy ignores target basePath #1643
Comments
Possible Relevant File: |
Actually httpxy is ignoring the BaseURL |
FWIW, I tried looking into this and also found the bug to be in httpxy. When setting the target path, it is using a |
that seems to help Thanks https://developer.mozilla.org/en-US/docs/Web/API/URL/pathname |
@jonasolesen Works also for me, i can confirm, that solved the Problem. I will close that here, if you could create an PR that would be great |
Environment
NitroPack
Nitro Config
Node
Yarn
Reproduction
Sample is provided in https://github.com/cs8898/nitro_devproxy_mre
Describe the bug
Problem
Nitro devProxy drops basepath of proxied server (only accepts Protocol, Host and Port of URL)
Expected
Observed
Additional context
No response
Logs
No response
The text was updated successfully, but these errors were encountered: