update
This commit is contained in:
@@ -66,8 +66,6 @@ export const useSignaling = createSharedComposable(() => {
|
||||
|
||||
const uri = host ? `${protocol}//${host}` : ``
|
||||
|
||||
// socket.value = io(`http://localhost:4000/webrtc`, {
|
||||
// path: `/chad/ws`,
|
||||
socket.value = io(`${uri}/webrtc`, {
|
||||
path: `${pathname}/ws`,
|
||||
transports: ['websocket'],
|
||||
|
||||
Reference in New Issue
Block a user