mirror of
https://github.com/Rayzggz/server_torii.git
synced 2025-06-19 21:51:20 +08:00
feat: CAPTCHA
This commit is contained in:
@ -16,7 +16,7 @@ func IPAllowList(reqData dataType.UserRequest, ruleSet *config.RuleSet, decision
|
||||
return
|
||||
}
|
||||
if trie.Search(ip) {
|
||||
decision.SetCode(action.Done, "200")
|
||||
decision.SetCode(action.Done, []byte("200"))
|
||||
} else {
|
||||
decision.Set(action.Continue)
|
||||
}
|
||||
|
Reference in New Issue
Block a user