From f804f91de26115d48c37b9ca41dc21c6feec8ef0 Mon Sep 17 00:00:00 2001 From: Rish Date: Fri, 15 Aug 2025 11:31:11 +0100 Subject: [PATCH] Fix middleware typo in README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index d3fc06e..fd7101c 100644 --- a/README.md +++ b/README.md @@ -47,7 +47,7 @@ request.crawler_name ``` It's more flexible to use `request.is_crawler?` rather than `CrawlerDetect.is_crawler?` because it automatically checks 10 HTTP-headers, not only `HTTP_USER_AGENT`. -Only one thing you have to do is to configure `Rack::CrawlerDetect` midleware: +Only one thing you have to do is to configure `Rack::CrawlerDetect` middleware: ### Rails ```ruby class Application < Rails::Application