mirror of
https://github.com/jambonz/jambonz-feature-server.git
synced 2025-12-20 16:50:39 +00:00
@@ -332,7 +332,7 @@ module.exports = function(srf, logger) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Resolve application.speech_synthesis_voice if it's custom voice
|
// Resolve application.speech_synthesis_voice if it's custom voice
|
||||||
if (app2.speech_synthesis_vendor === 'google' && app2.speech_synthesis_voice.startsWith('custom_')) {
|
if (app2.speech_synthesis_vendor === 'google' && app2.speech_synthesis_voice?.startsWith('custom_')) {
|
||||||
const arr = /custom_(.*)/.exec(app2.speech_synthesis_voice);
|
const arr = /custom_(.*)/.exec(app2.speech_synthesis_voice);
|
||||||
if (arr) {
|
if (arr) {
|
||||||
const google_custom_voice_sid = arr[1];
|
const google_custom_voice_sid = arr[1];
|
||||||
|
|||||||
Reference in New Issue
Block a user