From f877bf9eda2e9a209312cc78a1c07b18cacb113c Mon Sep 17 00:00:00 2001 From: Toby Chui Date: Sun, 3 Nov 2024 09:31:24 +0800 Subject: [PATCH] Update reverseproxy.go Fixed typo --- src/reverseproxy.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/reverseproxy.go b/src/reverseproxy.go index 2a55a59..4ef44f9 100644 --- a/src/reverseproxy.go +++ b/src/reverseproxy.go @@ -1190,7 +1190,7 @@ func HandleCustomHeaderAdd(w http.ResponseWriter, r *http.Request) { isRemove = true } - headerRewriteDefination := rewrite.UserDefinedHeader{ + headerRewriteDefinition := rewrite.UserDefinedHeader{ Key: name, Value: value, Direction: rewriteDirection,