From 387dd16ff505f61356f1d259a2f7410463bc0308 Mon Sep 17 00:00:00 2001 From: "CHIEFSOFT\\ameye" Date: Fri, 12 Apr 2024 15:20:06 -0400 Subject: [PATCH] file path --- index.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/index.js b/index.js index e7cd9d1..31332a5 100644 --- a/index.js +++ b/index.js @@ -64,8 +64,10 @@ const storage = multer.diskStorage({ fs.mkdirSync(dir2); } return cb(null, dir2) + /opt/wrenchboard/TEST/DUMMY + process.env.COMMON_TASKFILE_PATH +"/DUMMY" */ - return cb(null, process.env.COMMON_TASKFILE_PATH +"/DUMMY") + return cb(null, '/opt/wrenchboard/TEST/DUMMY') }, filename: function (req, file, cb) { return cb(null, `${Date.now()}_${file.originalname}`)