mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2024-12-24 06:52:40 -05:00
Trim to 128 chars
This commit is contained in:
parent
91d2663c35
commit
bdf27e20c5
1 changed files with 1 additions and 1 deletions
|
@ -331,7 +331,7 @@ class Scratch3SpeakBlocks {
|
|||
let path = `${SERVER_HOST}/synth`;
|
||||
path += `?locale=${locale}`;
|
||||
path += `&gender=${gender}`;
|
||||
path += `&text=${encodeURI(words)}`;
|
||||
path += `&text=${encodeURI(words.substring(0, 128))}`;
|
||||
|
||||
// Perform HTTP request to get audio file
|
||||
return new Promise(resolve => {
|
||||
|
|
Loading…
Reference in a new issue