Skip to content

Commit 6be74f9

Browse files
authored
Update proxy.go
1 parent f3ac888 commit 6be74f9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: service/proxy.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -201,8 +201,8 @@ func handleRequest(w http.ResponseWriter, r *http.Request) {
201201
return
202202
}
203203

204-
if site.DisableVerbose {
205-
reason = "illegal request"
204+
if reason != "" && site.DisableVerbose {
205+
reason = "the rule has been hit"
206206
}
207207

208208
switch action {

0 commit comments

Comments
 (0)