Modify websocket endpoint from 'frontend' to 'ws'.