From 79eeab2f32824d4958b8da448852491bb72bab9d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=A7=89?= Date: Sun, 1 Oct 2023 20:09:28 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A7=BB=E9=99=A4=E8=AE=A4=E8=AF=81=E4=BF=A1?= =?UTF-8?q?=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/client.js | 4 ++-- public/music.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/public/client.js b/public/client.js index e74910c..3dfd8d5 100644 --- a/public/client.js +++ b/public/client.js @@ -19,8 +19,8 @@ export default class ClientList { const webrtc = new RTCPeerConnection({ iceServers: [{ urls: 'turn:satori.love:3478', - username: 'your-username', - credential: await crypto.subtle.digest('SHA-1', new TextEncoder().encode('your-password')), + username: '', // your-username + credential: '', // await crypto.subtle.digest('SHA-1', new TextEncoder().encode('your-password')), //credentialType: 'password' }] }) diff --git a/public/music.js b/public/music.js index c716cec..5449cec 100644 --- a/public/music.js +++ b/public/music.js @@ -34,7 +34,7 @@ export default class MusicList { reader.readAsArrayBuffer(file) } } - //// 写入 css 样式到 head + // 写入 css 样式到 head const style = document.createElement('style') style.innerText = ` ul.music-list > li {