Update Stream to use modeling ws (#117)
This commit is contained in:
@ -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) => {
|
||||
|
Reference in New Issue
Block a user