From b6afe426d823ba5a0db792d91026d9be0e25a2a5 Mon Sep 17 00:00:00 2001 From: HuangHai <10402852@qq.com> Date: Fri, 5 Sep 2025 20:43:27 +0800 Subject: [PATCH] 'commit' --- dsLightRag/static/XunFei/audio_evaluation.html | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/dsLightRag/static/XunFei/audio_evaluation.html b/dsLightRag/static/XunFei/audio_evaluation.html index 9ddd7510..880a6420 100644 --- a/dsLightRag/static/XunFei/audio_evaluation.html +++ b/dsLightRag/static/XunFei/audio_evaluation.html @@ -151,7 +151,7 @@ // ==== 插入WebSocket认证代码 ==== const wsProtocol = window.location.protocol === 'https:' ? 'wss:' : 'ws:'; - const wsUrl = `${wsProtocol}//${window.location.host}/ws/audio-evaluation?token=${getAuthToken()}`; + const wsUrl = `${wsProtocol}//${window.location.host}/ws/audio-evaluation`; const ws = new WebSocket(wsUrl); // WebSocket事件处理 @@ -166,7 +166,6 @@ statusDiv.className = 'status error'; }; // ==== 插入结束 ==== - // 使用更明确的提示并添加详细的错误处理 const stream = await navigator.mediaDevices.getUserMedia({ audio: true }) .catch(err => { @@ -329,11 +328,6 @@ resultContent.innerHTML = html; } - // 在