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