Skip to content

Commit

Permalink
Update express-useragent.js
Browse files Browse the repository at this point in the history
  • Loading branch information
biggora committed Apr 2, 2015
1 parent 6eea902 commit 62c98df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/express-useragent.js
Expand Up @@ -510,7 +510,7 @@ var UserAgent = function() {

this.testBot = function testBot() {
var ua = this;
if (/googlebot|baiduspider|gurujibot|yandexbot|slurp|msnbot|bingbot|facebookexternalhit|linkedinbot|twitterbot/i.test(ua.Agent.source)) {
if (/googlebot|baiduspider|gurujibot|yandexbot|slurp|msnbot|bingbot|facebookexternalhit|linkedinbot|twitterbot|slackbot/i.test(ua.Agent.source)) {
ua.Agent.isBot = true;
}
};
Expand Down

0 comments on commit 62c98df

Please sign in to comment.