移除认证信息

This commit is contained in:
2023-10-01 20:09:28 +08:00
parent 20cf0037f5
commit 79eeab2f32
2 changed files with 3 additions and 3 deletions

View File

@ -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'
}] }]
}) })

View File

@ -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 {