add applebot & bingbot to seo user-agent detection
This commit is contained in:
		
							parent
							
								
									a874cdfb56
								
							
						
					
					
						commit
						477f3bd70a
					
				| @ -315,5 +315,5 @@ function capitalize(str) { | ||||
| } | ||||
| 
 | ||||
| function isSearchCrawler(useragent: string): boolean { | ||||
|   return /googlebot/i.test(useragent); | ||||
|   return /googlebot|applebot|bingbot/i.test(useragent); | ||||
| } | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user