You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
The text was updated successfully, but these errors were encountered:
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 becauseabstract-xhr.js
(within sockjs-client) setswithCredentials
on theXMLHttpRequest
. 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 anoCredentials
option when creating the request. Perhaps there is a way webpack-dev-server can pass this option?The text was updated successfully, but these errors were encountered: