update:增加版本号,解决html引用文件缓存问题

This commit is contained in:
hrz
2026-01-27 16:12:55 +08:00
parent 2e64f45a31
commit 99e136786e
2 changed files with 2 additions and 2 deletions
@@ -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) {
+1 -1
View File
@@ -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) {