fix suggestions

This commit is contained in:
he2ss 2022-02-08 16:24:09 +01:00
parent a1540984a0
commit e06594b580
3 changed files with 3 additions and 4 deletions

View file

@ -4,7 +4,7 @@ CACHE_EXPIRATION=1
# bounce for all type of remediation that the bouncer can receive from the local API
BOUNCING_ON_TYPE=all
FALLBACK_REMEDIATION=ban
REQUEST_TIMEOUT=1000
REQUEST_TIMEOUT=3000
UPDATE_FREQUENCY=10
MODE=stream
# exclude the bouncing on those location

View file

@ -191,7 +191,7 @@ function stream_query()
error("Failed to create the timer: " .. (err or "unknown"))
end
end
error("Http error " .. status .. " with message (" .. tostring(body) .. ")")
error("HTTP error while request to Local API '" .. status .. "' with message (" .. tostring(body) .. ")")
end
local decisions = cjson.decode(body)

View file

@ -1,7 +1,7 @@
<!DOCTYPE html>
<html lang="en">
<head>
<title>CrowdSec ReCaptcha</title>
<title>CrowdSec Ban</title>
<meta content="text/html; charset=utf-8" />
<style>
* {
@ -76,7 +76,6 @@
}
</style>
<script src="https://www.google.com/recaptcha/api.js" async defer></script>
</head>
<body>