live2d -> talkinghead

This commit is contained in:
joe
2023-08-11 06:52:14 +09:00
parent 41f504ef00
commit e4f22fdc99
2 changed files with 35 additions and 35 deletions

View File

@ -170,7 +170,7 @@ function talkingAnimation(switchValue) {
if (switchValue !== storedvalue) {
try {
console.log(animationType + " Talking Animation");
doExtrasFetch(`${apiUrl}/api/live2d/${animationType}_talking`);
doExtrasFetch(`${apiUrl}/api/talkinghead/${animationType}_talking`);
storedvalue = switchValue; // Update the storedvalue to the current switchValue
} catch (error) {
// Handle the error here or simply ignore it to prevent logging