jpillora / xdomain

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

xdomain not working IE 8 angular (version 1.2) #165

Open mjain1990 opened 9 years ago

mjain1990 commented 9 years ago

HI team,

I have angular application which can run on multiple clients like https://client1.app.com, https://client2.app.com and my REST api is present at https://api.app.com.

For IE 8 i have added in my index file

 <script src="scripts/xdomain.js" slave="https://api.app.com/proxy.html"></script>

and on my server i have added proxy.html at root

 <!DOCTYPE html>
 <script src="xdomain.js" master="https://*.app.com"></script

But in IE8 its not working and in fiddler is not showing any error too.. What am i missing?

jpillora commented 9 years ago

Does the demo work for you? Checked the FAQ?

On Wednesday, August 12, 2015, Mahaveer Jain notifications@github.com wrote:

HI team,

I have angular application which can run on multiple clients like https://client1.app.com, https://client2.app.com and my REST api is present at https://api.app.com.

For IE 8 i have added in my index file

and on my server i have added proxy.html at root

<!DOCTYPE html>

mjain1990 commented 9 years ago

I tried to open simple demo in IE8. it is not working :( for cross domain request.