Skip to content

Commit

Permalink
Added config variable FILE_FORMAT to get valid archive formats
Browse files Browse the repository at this point in the history
  • Loading branch information
jorgtho committed Jul 1, 2022
1 parent 72b2f64 commit 36655df
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion config.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,6 @@ module.exports = {
SYSTEM: process.env.E18_JOB_SYSTEM,
PROJECT_ID: Number.isInteger(Number.parseInt(process.env.E18_JOB_PROJECT_ID)) ? Number.parseInt(process.env.E18_JOB_PROJECT_ID) : 0,
TYPE: process.env.E18_JOB_TYPE
}
},
FILE_FORMATS: (process.env.FILE_FORMATS && process.env.FILE_FORMATS.split(',')) || ['pdf', 'docx', 'png', 'jpg']
}

0 comments on commit 36655df

Please sign in to comment.