From 00ff1237a21d5f1a900c0762717d7721fac1e029 Mon Sep 17 00:00:00 2001 From: Yun Long Date: Mon, 6 Nov 2023 17:02:31 +0800 Subject: [PATCH] Update documantation --- docs/07.Reference/7.02.Filters.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/docs/07.Reference/7.02.Filters.md b/docs/07.Reference/7.02.Filters.md index 254093cdf6..a5176e65ab 100644 --- a/docs/07.Reference/7.02.Filters.md +++ b/docs/07.Reference/7.02.Filters.md @@ -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 @@ -1402,7 +1402,6 @@ flow: filters: - name: redirectorv2 kind: RedirectorV2 - pathPrefix: /user path: type: ReplacePrefixMatch replacePrefixMatch: /account @@ -1441,7 +1440,6 @@ filters: kind: RedirectorV2 scheme: https hostname: newdomain.com - pathPrefix: /user path: type: ReplacePrefixMatch replacePrefixMatch: /account