Merge pull request #3023 from bal-spec/patch-2

Update azure.js
This commit is contained in:
Cohee 2024-10-28 10:18:19 +02:00 committed by GitHub
commit ebd6377d5d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -69,7 +69,7 @@ router.post('/generate', jsonParser, async (req, res) => {
headers: { headers: {
'Ocp-Apim-Subscription-Key': key, 'Ocp-Apim-Subscription-Key': key,
'Content-Type': 'application/ssml+xml', 'Content-Type': 'application/ssml+xml',
'X-Microsoft-OutputFormat': 'ogg-48khz-16bit-mono-opus', 'X-Microsoft-OutputFormat': 'webm-24khz-16bit-mono-opus',
}, },
body: ssml, body: ssml,
}); });