summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorlolcat <will@lolcat.ca>2024-05-16 17:22:49 -0400
committerlolcat <will@lolcat.ca>2024-05-16 17:22:49 -0400
commit0d98d7839d1c3da75b95ef29ce12ef54a2a20094 (patch)
treec51d5a0dcfc99d91211b65ed9692974305a72c90 /data
parentf8d46df1e858401d93c5fa885777113994a03c86 (diff)
added greppr support also btw im not dead
Diffstat (limited to 'data')
-rw-r--r--data/config.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/data/config.php b/data/config.php
index 42a968a..13be0f4 100644
--- a/data/config.php
+++ b/data/config.php
@@ -43,7 +43,7 @@ class config{
// If this regex expression matches on the user agent, it blocks the request
// Not useful at all against a targetted attack
- const HEADER_REGEX = '/bot|wget|curl|python-requests|scrapy|go-http-client|ruby|yahoo|spider/i';
+ const HEADER_REGEX = '/bot|wget|curl|python-requests|scrapy|go-http-client|ruby|yahoo|spider|qwant/i';
// Block clients who present any of the following headers in their request (SPECIFY IN !!lowercase!!)
// Eg: ["x-forwarded-for", "x-via", "forwarded-for", "via"];
@@ -128,6 +128,7 @@ class config{
const PROXY_PINTEREST = false;
const PROXY_SEZNAM = false;
const PROXY_NAVER = false;
+ const PROXY_GREPPR = false;
const PROXY_CROWDVIEW = false;
const PROXY_MWMBL = false;
const PROXY_FTM = false; // findthatmeme