-
Notifications
You must be signed in to change notification settings - Fork 873
Closed
Description
Checks
- I understand project setup issues should be asked on StackOverflow or in GitHub Discussions.
- I updated to latest
http-proxy-middleware.
Describe the bug (be clear and concise)
When a target with a port is given, it gets proxied to the domain without port.
E.g. when using http://127.0.0.1:3001 as a target, it will proxy to http://127.0.0.1
Step-by-step reproduction instructions
1. Set target to http://127.0.0.1:3001
2. Use the proxy
3. Redirects to the url without the portExpected behavior (be clear and concise)
Go to the correct port
How is http-proxy-middleware used in your project?
- "_project_#custom-proxy" depends on it
- Hoisted from "_project_#custom-proxy#http-proxy-middleware"What http-proxy-middleware configuration are you using?
3.0.0 - createProxyMiddleware()What OS/version and node/version are you seeing the problem?
MacOS 14.4.1 - Node v20.8.1Additional context (optional)
No response
fetis and miawoltn
Metadata
Metadata
Assignees
Labels
No labels