I am using spring-boot-starter-websocket for WebSocket connection. Server side configuration
Client side code:
I am able to connect to websockets when using locally (ws) but when I deploy the app I am unable to connect to websocket(wss). Any clue what I am missing.
I have to enable CORS in the spring configuration.