Live data from Hacker News

Show HN: Include this JS library to enable cross-origin requests

github.com

1–10 of 33 posts

Re: Show HN: Include this JS library to enable cross-origin requests

#7
post #2

I would let the users know that requests get routed through a server you control.

It only goes through our servers if it's cross-origin. Normal http same-origin requests are left intact (and you can see it in the code). It's stated on the README but perhaps it should be more apparent.

Re: Show HN: Include this JS library to enable cross-origin requests

#9
post #6

This is just a proxy. If developers wanted to go this route they would set up the proxy on their own server instead of routing it through a 3rd party.

It's possible, we just make it easier. This library also make it seamless (you can still use jQuery.ajax). They can use this library and just change the proxy url.
Post reply on HN