Spring WebSocket Connecting with SockJS to a different domain
问题 WebSockets in Spring is a rather new topic that I;m tiring to find a bit more. My problem is with connecting to a service from a different domain, I'm working on with Lineman building the front-end side and Spring Boot when doing the back-end side, with that I have these apps on two different ports : 8000 and 8080 on localhost. I had issues with the 'Access-Control-Allow-Origin' header but I have resolved it by adding a filter on the server side which added the allowed origin to the header.