v87: WebSocket на lang.kube5s.ru/ws — всё на одном домене

This commit is contained in:
“Naeel”
2026-05-23 07:08:56 +04:00
parent 2017a6e4be
commit 23644bf214
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
// ---------- Глобальные переменные и инициализация ----------
const GROQ_API_KEY = '';
const VERSION = 'v86';
const VERSION = 'v87';
let mediaRecorder, audioChunks = [], userAudioBlob = null, ttsText = '';
let isRecording = false, isAnalyzing = false, micAnalyser = null, micAnimId = null;
+1 -1
View File
@@ -19,7 +19,7 @@ async function transcribe(blob) {
return new Promise((resolve) => {
try {
const ws = new WebSocket('wss://proxy.kube5s.ru/ws');
const ws = new WebSocket('wss://lang.kube5s.ru/ws');
const timeout = setTimeout(() => {
console.log('[WS] timeout'); ws.close(); resolve({ text: '', error: 'timeout' });
}, 60000);