mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
fix new live2d asset listing for character folder.
This commit is contained in:
@ -274,7 +274,7 @@ function registerEndpoints(app, jsonParser) {
|
|||||||
for (let file of fs.readdirSync(live2dModelPath)) {
|
for (let file of fs.readdirSync(live2dModelPath)) {
|
||||||
//console.debug("Character live2d model found:", file)
|
//console.debug("Character live2d model found:", file)
|
||||||
if (file.includes("model"))
|
if (file.includes("model"))
|
||||||
output.push([`${modelFolder}`, path.join("characters", name, category, modelFolder, file)]);
|
output.push(path.join("characters", name, category, modelFolder, file));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user