Skip to content

Commit

Permalink
chore(misc/example/config): Add examle of Prefix & Suffix middleware
Browse files Browse the repository at this point in the history
  • Loading branch information
ondrejsika committed Jul 29, 2022
1 parent 3376412 commit 9986f45
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions misc/example/config/tergum-local-v3-single-file.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,16 @@ Backups:
Source:
SingleFile:
Path: tmp/single-file.in
Middlewares:
- Prefix:
Prefix: "BEGIN\n"
Targets:
- ID: filepath
FilePath:
Path: tmp/single-file.out
- ID: filepath2
Middlewares:
- Suffix:
Suffix: "END\n"
FilePath:
Path: tmp/single-file.out2

0 comments on commit 9986f45

Please sign in to comment.