floatinghotpot / socket.io-unity

socket.io client for Unity, power game client with node.js back-end
494 stars 76 forks source link

Conflict with CORS #41

Open Ben-Cho opened 5 years ago

Ben-Cho commented 5 years ago

Hi, so I have kind of the same setup as here (unity application and node.js hosted on a Heroku server) I have CORS as well on this server. I am unable to connect and to receive data from it. The problem seems to come from the CORS, I already tried multiple configurations to allow everything on CORS. It only works when the API and UNITY are on the same network. Has someone ever had this kind of problem between CORS and this library ? Thanks !