Commit e1f2507aaf2929d27bc664995c0fbbf26d495cae
1 parent
54cfa64f
Exists in
colab
and in
4 other branches
Ignoring errors from AhrefsBot TurnitinBot crawlers
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
config/environments/production.rb
| @@ -100,7 +100,7 @@ Rails.application.configure do | @@ -100,7 +100,7 @@ Rails.application.configure do | ||
| 100 | 100 | ||
| 101 | # Exception Notification | 101 | # Exception Notification |
| 102 | config.middleware.use ExceptionNotification::Rack, | 102 | config.middleware.use ExceptionNotification::Rack, |
| 103 | - :ignore_crawlers => %w{Googlebot bingbot SeznamBot Baiduspider}, | 103 | + :ignore_crawlers => %w{Googlebot bingbot SeznamBot Baiduspider AhrefsBot TurnitinBot}, |
| 104 | :email => { | 104 | :email => { |
| 105 | :email_prefix => "[Prezento Error] ", | 105 | :email_prefix => "[Prezento Error] ", |
| 106 | :sender_address => %{"mezurometrics" <mezurometrics@gmail.com>}, | 106 | :sender_address => %{"mezurometrics" <mezurometrics@gmail.com>}, |