Blockbot: Added "axios" to the "good" agents

pull/1134/head
Michael 2021-06-11 14:37:20 +00:00
parent b5d841643c
commit 4791838cfd
1 changed files with 1 additions and 1 deletions

View File

@ -114,7 +114,7 @@ function blockbot_init_1(App $a) {
'WordPress/', 'http.rb/', 'Apache-HttpClient/', 'WordPress.com;', 'Pleroma',
'Dispatch/', 'Ruby', 'Java/', 'libwww-perl/', 'Mastodon/', 'FeedlyApp/',
'lua-resty-http/', 'Tiny Tiny RSS/', 'Wget/', 'PostmanRuntime/',
'W3C_Validator/', 'NetNewsWire', 'FeedValidator/', 'theoldreader.com'];
'W3C_Validator/', 'NetNewsWire', 'FeedValidator/', 'theoldreader.com', 'axios/'];
if (DI::config()->get('blockbot', 'good_crawlers')) {
$agents = array_merge($agents, $good_agents);