Bugfix/crash loading voice (#248)
* add voice data url getter and setter * Ok Voices.js removing types * Match the function style. * Actually use the url for the voice file. --------- Co-authored-by: CrossPr0duct <alicextensor@gmail.com>
This commit is contained in:
@@ -461,7 +461,7 @@ async function getVoiceFile(id) {
|
|||||||
return buffer;
|
return buffer;
|
||||||
}
|
}
|
||||||
|
|
||||||
const url = `${VOICE_DATA_URL}/${id}.bin`;
|
const url = `${voiceDataUrl}/${id}.bin`;
|
||||||
|
|
||||||
let cache;
|
let cache;
|
||||||
try {
|
try {
|
||||||
|
|||||||
Reference in New Issue
Block a user