From db866a8e46e5fe615cfb2195ed2fe4a35bd521b8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=A7=89?= Date: Mon, 2 Oct 2023 23:20:50 +0800 Subject: [PATCH] DEBUG --- public/index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/public/index.html b/public/index.html index 02096d1..3501934 100644 --- a/public/index.html +++ b/public/index.html @@ -131,8 +131,8 @@ }) console.log('向', client.name, '请求音乐数据') - const count = Math.ceil(item.size / CHUNK_SIZE) - console.log('需要接收', count, '个分片') + const c = Math.ceil(item.size / CHUNK_SIZE) + console.log('需要接收', c, '个分片') clientList.sendto(client.id, 'base', JSON.stringify({ type: 'get_music_data', id: item.id, channel: `music-data-${item.id}`