From e7e4f75c86bea2083065f925508d544c3bbe88e6 Mon Sep 17 00:00:00 2001 From: Tony Ribeiro Date: Sun, 12 Nov 2023 19:08:29 +0100 Subject: [PATCH] fix new live2d asset listing for character folder. --- src/assets.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/assets.js b/src/assets.js index 2c7bd036f..385b1d7a2 100644 --- a/src/assets.js +++ b/src/assets.js @@ -274,7 +274,7 @@ function registerEndpoints(app, jsonParser) { for (let file of fs.readdirSync(live2dModelPath)) { //console.debug("Character live2d model found:", file) if (file.includes("model")) - output.push([`${modelFolder}`, path.join("characters", name, category, modelFolder, file)]); + output.push(path.join("characters", name, category, modelFolder, file)); } } }