移除认证信息
This commit is contained in:
parent
20cf0037f5
commit
79eeab2f32
|
@ -19,8 +19,8 @@ export default class ClientList {
|
||||||
const webrtc = new RTCPeerConnection({
|
const webrtc = new RTCPeerConnection({
|
||||||
iceServers: [{
|
iceServers: [{
|
||||||
urls: 'turn:satori.love:3478',
|
urls: 'turn:satori.love:3478',
|
||||||
username: 'your-username',
|
username: '', // your-username
|
||||||
credential: await crypto.subtle.digest('SHA-1', new TextEncoder().encode('your-password')),
|
credential: '', // await crypto.subtle.digest('SHA-1', new TextEncoder().encode('your-password')),
|
||||||
//credentialType: 'password'
|
//credentialType: 'password'
|
||||||
}]
|
}]
|
||||||
})
|
})
|
||||||
|
|
|
@ -34,7 +34,7 @@ export default class MusicList {
|
||||||
reader.readAsArrayBuffer(file)
|
reader.readAsArrayBuffer(file)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
//// 写入 css 样式到 head
|
// 写入 css 样式到 head
|
||||||
const style = document.createElement('style')
|
const style = document.createElement('style')
|
||||||
style.innerText = `
|
style.innerText = `
|
||||||
ul.music-list > li {
|
ul.music-list > li {
|
||||||
|
|
Loading…
Reference in New Issue