Skip to content
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

CORS issues with 1.12.9 #335

Closed
jedwards1211 opened this issue Dec 4, 2015 · 3 comments
Closed

CORS issues with 1.12.9 #335

jedwards1211 opened this issue Dec 4, 2015 · 3 comments

Comments

@jedwards1211
Copy link

Some random npm command upgraded webpack-dev-server to 1.12.9 without my knowledge. I then had numerous insurmountable CORS errors when using it together with Meteor.

Using Access-Control-Allow-Origin: '*' doesn't work because abstract-xhr.js (within sockjs-client) sets withCredentials on the XMLHttpRequest. I assume something in webpack-dev-server's dependencies has changed? Downgrading to 1.12.1 fixed the CORS issues for me.

abstract-xhr.js accepts a noCredentials option when creating the request. Perhaps there is a way webpack-dev-server can pass this option?

@SpaceK33z
Copy link
Member

Could you check if #499 resolves your issue?

@SpaceK33z
Copy link
Member

I'm closing this issue because of inactivity. Feel free to comment, and we can always re-open it again.

@jedwards1211
Copy link
Author

Sorry, yeah, I've been too busy with work

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants