From 026eef56bb7fec63954c2e4427a9413cef23702f Mon Sep 17 00:00:00 2001 From: Andrii Kurdiumov Date: Fri, 5 May 2023 23:06:14 +0600 Subject: [PATCH] Fixed typo in transforms.md (#2122) --- docs/docfx/articles/transforms.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/docfx/articles/transforms.md b/docs/docfx/articles/transforms.md index ddf80fead..c9118029f 100644 --- a/docs/docfx/articles/transforms.md +++ b/docs/docfx/articles/transforms.md @@ -558,11 +558,11 @@ routeConfig = routeConfig.WithTransformXForwarded( ForwardedTransformActions? xPrefix = null); ``` ```C# -transformBuilderContext.AddXForwarded(ForwardedTransformAction.Set); -transformBuilderContext.AddXForwardedFor(headerName: "X-Forwarded-For", ForwardedTransformAction.Append); -transformBuilderContext.AddXForwardedHost(headerName: "X-Forwarded-Host", ForwardedTransformAction.Append); -transformBuilderContext.AddXForwardedProto(headerName: "X-Forwarded-Proto", ForwardedTransformAction.Off); -transformBuilderContext.AddXForwardedPrefix(headerName: "X-Forwarded-Prefix", ForwardedTransformAction.Remove); +transformBuilderContext.AddXForwarded(ForwardedTransformActions.Set); +transformBuilderContext.AddXForwardedFor(headerName: "X-Forwarded-For", ForwardedTransformActions.Append); +transformBuilderContext.AddXForwardedHost(headerName: "X-Forwarded-Host", ForwardedTransformActions.Append); +transformBuilderContext.AddXForwardedProto(headerName: "X-Forwarded-Proto", ForwardedTransformActions.Off); +transformBuilderContext.AddXForwardedPrefix(headerName: "X-Forwarded-Prefix", ForwardedTransformActions.Remove); ``` Example: