Update websocket api url to avoid 302 error on connection.