-
Notifications
You must be signed in to change notification settings - Fork 145
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
See #676
- Loading branch information
Showing
2 changed files
with
5 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -71,6 +71,9 @@ pipeline then something like the following may help: | |
Now create the following pipeline in your `config/config.local.js` | ||
|
||
```javascript | ||
const Process = require('../server/classes/process'); | ||
|
||
module.exports = { | ||
afterConfig(config) { | ||
config.pipelines.push({ | ||
extension: 'pdf', | ||
|
@@ -93,6 +96,7 @@ Now create the following pipeline in your `config/config.local.js` | |
async afterScan(fileInfo) { | ||
return await Process.spawn(`mpack -s "Document from Scanner@Office" "${fileInfo.fullname}" [email protected]`); | ||
} | ||
}; | ||
``` | ||
|
||
## Other recipes? | ||
|