destinationDir
This commit is contained in:
@@ -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';
|
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"];
|
// $selectedFile = $this->savePath.'PROFILE/'.$out["member_uid"]."/MYFILES/". $out["saved_file_name"];
|
||||||
const completeFile = myfilesCommonPath+"/"+jobUID+"/" + findFilename;
|
const completeFile = destinationDir+"/"+jobUID+"/" + findFilename;
|
||||||
if(!completeFile){
|
if(!completeFile){
|
||||||
console.log("Finding File Not Found ", completeFile);
|
console.log("Finding File Not Found ", completeFile);
|
||||||
return res.status(404).send('File not found')
|
return res.status(404).send('File not found')
|
||||||
|
|||||||
Reference in New Issue
Block a user