Skip to content

Add caveat for using http-proxy-middleware options #2415

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

Merged
merged 6 commits into from
Aug 26, 2018

Conversation

naomiajacobs
Copy link
Contributor

When trying to use the router feature in http-proxy-middleware in our webpack-dev-server config, I was having trouble and couldn't find any documentation as to why it hadn't worked. I ended up looking in the source code and realized that I hadn't been including a target key. It hadn't been clear that that was required, since the router function overrides the target key. I figured others might run into the same issue and wanted to clarify.

@montogeek
Copy link
Member

Thanks!

@montogeek montogeek merged commit e24bfb6 into webpack:master Aug 26, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants