mirror of
https://github.com/jambonz/jambonz-feature-server.git
synced 2026-10-30 23:34:34 +00:00
1 parent
9948592080
commit
5043edfd4e
7 files changed
+2470
-2174
No files matched your search
@@ -78,6 +78,10 @@ const speechMapper = (cred) => {
|
||||
const o = JSON.parse(decrypt(credential));
|
||||
obj.api_key = o.api_key;
|
||||
}
|
||||
else if ('nvidia' === obj.vendor) {
|
||||
const o = JSON.parse(decrypt(credential));
|
||||
obj.riva_server_uri = o.riva_server_uri;
|
||||
}
|
||||
else if (obj.vendor.startsWith('custom:')) {
|
||||
const o = JSON.parse(decrypt(credential));
|
||||
obj.auth_token = o.auth_token;
|
||||
|
||||
Reference in new issue
Block a user