File node: Add fileWorkingDirectory to customise how relative paths are resolved

This commit is contained in:
Nick O'Leary
2021-04-12 18:00:58 +01:00
parent ba566657f1
commit aac2a8f830
3 changed files with 75 additions and 10 deletions

View File

@@ -46,6 +46,10 @@ module.exports = {
// defaults to 10Mb
//execMaxBufferSize: 10000000,
// The working directory to handle relative file paths from within the File nodes
// defaults to the working directory of the Node-RED process.
//fileWorkingDirectory: "",
// The maximum length, in characters, of any message sent to the debug sidebar tab
debugMaxLength: 1000,