-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Closed
Labels
Description
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?