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'
)
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)]
// Connection opened
socket.addEventListener('open', (event) => {