mirror of
https://gitgud.io/fatchan/haproxy-protection.git
synced 2025-05-09 02:05:37 +00:00
space to 4 tabs
This commit is contained in:
@ -150,7 +150,14 @@ function _M.view(applet)
|
||||
captcha_secret,
|
||||
parsed_body["h-captcha-response"]
|
||||
)
|
||||
local res, err = http.post({data=hcaptcha_data, url=hcaptcha_url, headers={host=captcha_provider_domain, ["content-type"]="application/x-www-form-urlencoded"} })
|
||||
local res, err = http.post({
|
||||
data=hcaptcha_data,
|
||||
url=hcaptcha_url,
|
||||
headers={
|
||||
host=captcha_provider_domain,
|
||||
["content-type"]="application/x-www-form-urlencoded"
|
||||
}
|
||||
})
|
||||
local status, api_response = pcall(res.json, res)
|
||||
if not status then
|
||||
local original_error = api_response
|
||||
|
Reference in New Issue
Block a user