obfuscate TTS elevenlabs api key (#19262)

This commit is contained in:
Tom Haynes 2025-11-18 19:36:36 +00:00 committed by GitHub
parent baffa89f35
commit ccd80b9dba
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -548,12 +548,7 @@
{:else if TTS_ENGINE === 'elevenlabs'} {:else if TTS_ENGINE === 'elevenlabs'}
<div> <div>
<div class="mt-1 flex gap-2 mb-1"> <div class="mt-1 flex gap-2 mb-1">
<input <SensitiveInput placeholder={$i18n.t('API Key')} bind:value={TTS_API_KEY} required />
class="flex-1 w-full rounded-lg py-2 pl-4 text-sm bg-gray-50 dark:text-gray-300 dark:bg-gray-850 outline-hidden"
placeholder={$i18n.t('API Key')}
bind:value={TTS_API_KEY}
required
/>
</div> </div>
</div> </div>
{:else if TTS_ENGINE === 'azure'} {:else if TTS_ENGINE === 'azure'}