mirror of
https://github.com/xinnan-tech/xiaozhi-esp32-server.git
synced 2026-07-22 07:03:53 +08:00
update:增加版本号,解决html引用文件缓存问题
This commit is contained in:
@@ -204,7 +204,7 @@ export class AudioRecorder {
|
||||
if (this.isRecording) return false;
|
||||
try {
|
||||
// Check if WebSocketHandler instance exists
|
||||
const { getWebSocketHandler } = await import('../network/websocket.js');
|
||||
const { getWebSocketHandler } = await import('../network/websocket.js?v=0127');
|
||||
const wsHandler = getWebSocketHandler();
|
||||
// If machine is speaking, send abort message
|
||||
if (wsHandler && wsHandler.isRemoteSpeaking && wsHandler.currentSessionId) {
|
||||
|
||||
@@ -453,7 +453,7 @@ class UIController {
|
||||
|
||||
if (isConnected) {
|
||||
// Check microphone availability (check again after connection)
|
||||
const { checkMicrophoneAvailability } = await import('../core/audio/recorder.js');
|
||||
const { checkMicrophoneAvailability } = await import('../core/audio/recorder.js?v=0127');
|
||||
const micAvailable = await checkMicrophoneAvailability();
|
||||
|
||||
if (!micAvailable) {
|
||||
|
||||
Reference in New Issue
Block a user