4 comments

[ 2.2 ms ] story [ 25.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.