4 comments

[ 5.0 ms ] story [ 28.5 ms ] thread
This feels like a bad idea, there's a reason why we have CORS.
Just something to note.

Websocket connections don't enforce CORS. So that's another alternative - host all of you APIs via websockets.