mirror of
https://github.com/Nezumi-2711/9router.git
synced 2026-09-22 20:00:47 +00:00
Enhance TTS functionality and security settings
- Integrated Google TTS languages from a separate module for better maintainability. - Updated local device voice fetching to support both macOS and Windows, improving cross-platform compatibility. - Enhanced dashboard route protection by adding dynamic settings for login requirements and tunnel access. - Introduced UI elements for managing security settings related to API key requirements and dashboard access via tunnel. - Added default TTS response example in the media provider page for better user guidance. - Updated constants to reflect changes in TTS provider configurations. This commit improves the overall user experience and security of the TTS features.
This commit is contained in:
@@ -4,10 +4,10 @@
|
||||
*/
|
||||
export const TTS_PROVIDER_CONFIG = {
|
||||
"google-tts": {
|
||||
hasLanguageDropdown: true,
|
||||
hasLanguageDropdown: false,
|
||||
hasModelSelector: false,
|
||||
hasBrowseButton: false,
|
||||
voiceSource: "hardcoded", // from providerModels
|
||||
hasBrowseButton: true,
|
||||
voiceSource: "hardcoded", // languages built from providerModels at runtime
|
||||
},
|
||||
"openai": {
|
||||
hasLanguageDropdown: false,
|
||||
|
||||
Reference in New Issue
Block a user