We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a8cffd5 + 8f0a53f commit f4ec81cCopy full SHA for f4ec81c
internal/reverse/response.go
@@ -72,7 +72,7 @@ func (reverse *Reverse) ModifyResponse(shost string) func(response *http.Respons
72
case "prefix":
73
urlmatch = strings.HasPrefix(response.Request.URL.Path, rule.URL)
74
case "suffix":
75
- urlmatch = strings.HasPrefix(response.Request.URL.Path, rule.URL)
+ urlmatch = strings.HasSuffix(response.Request.URL.Path, rule.URL)
76
}
77
78
if urlmatch {
0 commit comments