Skip to content

Commit

Permalink
Update documantation
Browse files Browse the repository at this point in the history
  • Loading branch information
xxx7xxxx committed Nov 6, 2023
1 parent c19fd9f commit 00ff123
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions docs/07.Reference/7.02.Filters.md
Original file line number Diff line number Diff line change
Expand Up @@ -1392,7 +1392,7 @@ Commmon Use-Cases:

1. Replace Prefix:

Substitute a prefix with `/account` and return a `302 Found` status code.
Substitute a prefix with `/account` and return a `302 Found` status code. The prefix was decided in `pathPrefix` in te matchting rule in HTTPServer.

```yaml
name: demo-pipeline
Expand All @@ -1402,7 +1402,6 @@ flow:
filters:
- name: redirectorv2
kind: RedirectorV2
pathPrefix: /user
path:
type: ReplacePrefixMatch
replacePrefixMatch: /account
Expand Down Expand Up @@ -1441,7 +1440,6 @@ filters:
kind: RedirectorV2
scheme: https
hostname: newdomain.com
pathPrefix: /user
path:
type: ReplacePrefixMatch
replacePrefixMatch: /account
Expand Down

0 comments on commit 00ff123

Please sign in to comment.