From 8fc5d6784084bb523f892ccde9bffae57173623c Mon Sep 17 00:00:00 2001 From: "CHIEFSOFT\\ameye" Date: Sun, 26 May 2024 15:29:54 -0400 Subject: [PATCH] destinationDir --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 747dc3d..663758c 100644 --- a/index.js +++ b/index.js @@ -429,7 +429,7 @@ app.get('/mytask/:filename', (req, res)=>{ let destinationDir = process.env.COMMON_TASKF_PATH !== undefined ? process.env.COMMON_TASKF_PATH : '/opt/wrenchboard/TEST/TASKFILE'; // $selectedFile = $this->savePath.'PROFILE/'.$out["member_uid"]."/MYFILES/". $out["saved_file_name"]; - const completeFile = myfilesCommonPath+"/"+jobUID+"/" + findFilename; + const completeFile = destinationDir+"/"+jobUID+"/" + findFilename; if(!completeFile){ console.log("Finding File Not Found ", completeFile); return res.status(404).send('File not found')