Add chat file backups
This commit is contained in:
+2
-2
@@ -77,7 +77,7 @@ function registerEndpoints(app, jsonParser) {
|
||||
for (let file of fs.readdirSync(live2d_model_path)) {
|
||||
if (file.includes("model")) {
|
||||
//console.debug("Asset live2d model found:",file)
|
||||
output[folder].push([`${model_folder}`,path.join("assets", folder, model_folder, file)]);
|
||||
output[folder].push([`${model_folder}`, path.join("assets", folder, model_folder, file)]);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -257,7 +257,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([`${modelFolder}`, path.join("characters", name, category, modelFolder, file)]);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user