This commit is contained in:
CHIEFSOFT\ameye
2024-05-24 09:11:51 -04:00
parent bbd96312fb
commit cb39e7c684
+1 -3
View File
@@ -128,13 +128,11 @@ app.post("/upload/resources", upload.array("files"), (req, res) => {
fs.mkdirSync(dir);
}
let targetDir = destinationDir+'/MYFILES';
if (!fs.existsSync(targetDir)) {
fs.mkdirSync(targetDir);
}
let targetDir = destinationDir+'/MYFILES';
req.files.map(( onefile )=>{
{
//===============================================