Update Stream to use modeling ws (#117)

This commit is contained in:
Adam Sunderland
2023-05-26 17:32:31 -04:00
committed by GitHub
parent 1fb7524da9
commit fbee151264

View File

@ -10,7 +10,7 @@ export const Stream = () => {
typeof RTCPeerConnection === 'undefined' typeof RTCPeerConnection === 'undefined'
) )
return return
const url = 'wss://dev.api.kittycad.io/ws/channel' const url = 'wss://dev.api.kittycad.io/ws/modeling/commands'
const [pc, socket] = [new RTCPeerConnection(), new WebSocket(url)] const [pc, socket] = [new RTCPeerConnection(), new WebSocket(url)]
// Connection opened // Connection opened
socket.addEventListener('open', (event) => { socket.addEventListener('open', (event) => {