debug
This commit is contained in:
parent
62db3ab2cf
commit
5a34c586ca
@ -6,7 +6,6 @@ export default class ClientList {
|
|||||||
this.EventListeners = EventListeners
|
this.EventListeners = EventListeners
|
||||||
const protocol = window.location.protocol === 'https:' ? 'wss' : 'ws'
|
const protocol = window.location.protocol === 'https:' ? 'wss' : 'ws'
|
||||||
const host = window.location.host
|
const host = window.location.host
|
||||||
this.websocket = new WebSocket(`${protocol}://${host}/webrtc/music?name=${name}`)
|
|
||||||
this.clientlist = []
|
this.clientlist = []
|
||||||
this.ul = List({})
|
this.ul = List({})
|
||||||
document.body.appendChild(this.ul)
|
document.body.appendChild(this.ul)
|
||||||
|
Loading…
Reference in New Issue
Block a user