add applebot & bingbot to seo user-agent detection

This commit is contained in:
Mononaut committed 2023-03-08 01:11:54 -06:00
1 parent a874cdfb56
commit 477f3bd70a
1 file changed
+1 -1
+1 -1
View File
@@ -315,5 +315,5 @@ function capitalize(str) {
}
function isSearchCrawler(useragent: string): boolean {
return /googlebot/i.test(useragent);
return /googlebot|applebot|bingbot/i.test(useragent);
}