-
-
Notifications
You must be signed in to change notification settings - Fork 619
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Attempt at adding missing parameters
- Loading branch information
Showing
3 changed files
with
49 additions
and
3 deletions.
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
41 changes: 41 additions & 0 deletions
41
templates/questions/traefik/rewriteResponseBodyMiddleware.yaml
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 |
---|---|---|
@@ -0,0 +1,41 @@ | ||
- variable: rewriteResponseBody | ||
label: Rewrite Response Body | ||
schema: | ||
type: list | ||
default: [] | ||
items: | ||
- variable: rewriteResponseBodyEntry | ||
label: "" | ||
schema: | ||
additional_attrs: true | ||
type: dict | ||
attrs: | ||
- variable: name | ||
label: Name | ||
schema: | ||
type: string | ||
required: true | ||
- variable: headers | ||
label: HTML body sections to replace | ||
schema: | ||
type: list | ||
default: [] | ||
items: | ||
- variable: bodyEntry | ||
label: "" | ||
schema: | ||
additional_attrs: true | ||
type: dict | ||
attrs: | ||
- variable: regex | ||
label: Regex | ||
description: The value of the HTML code to match. Accepts regex expression. | ||
schema: | ||
type: string | ||
default: "" | ||
- variable: replacement | ||
label: Replacement Regex | ||
description: The replacement HTML code to substitute. Accepts regex expression. | ||
schema: | ||
type: string | ||
default: "" |