Make websocket urls change with domain