use correct path for websocket url