jpillora / xdomain

A pure JavaScript CORS alternative
https://jpillora.com/xdomain/
3.13k stars 270 forks source link

Added check for existing addWithCredentials value before setting #125

Closed dmaevac closed 9 years ago

dmaevac commented 9 years ago

The solution suggested here https://github.com/jpillora/xdomain/issues/21 did not work as xdomain later sets xhook.addWithCredentials = true.