From 0984a87b7794d82deab43c474363792c4b76752f Mon Sep 17 00:00:00 2001 From: posimai Date: Wed, 25 Mar 2026 09:11:48 +0900 Subject: [PATCH] fix: remove client warmup that was blocking TTS requests --- index.html | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/index.html b/index.html index b0a90ab..e884c6d 100644 --- a/index.html +++ b/index.html @@ -1009,17 +1009,6 @@ async function loadFeed() { }); speechQueue.push('本日のブリーフィングは以上です。'); - // APIキーがあれば表示中の記事をバックグラウンドでウォームアップ - const warmupKey = localStorage.getItem('posimai-brief-apikey'); - if (warmupKey) { - const texts = speechQueue.map(t => preprocessText(t)); - fetch(API_BASE + '/tts/warmup', { - method: 'POST', - headers: { 'Content-Type': 'application/json', 'Authorization': `Bearer ${warmupKey}` }, - body: JSON.stringify({ texts, speaker: ttsSpeaker }), - }).catch(() => {}); - } - document.getElementById('briefCount').textContent = `${list.length}件`; updateArticleDisplay(list[0], 0); renderList();