Skip to content

Commit cbe6415

Browse files
committed
added googlebot, bingbot, yandex to list of user agents for new Dynamic Rendering
1 parent 55a4bb4 commit cbe6415

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

lib/prerender_rails.rb

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,10 @@ class Prerender
44
require 'active_support'
55

66
def initialize(app, options={})
7-
# googlebot, yahoo, and bingbot are not in this list because
8-
# we support _escaped_fragment_ and want to ensure people aren't
9-
# penalized for cloaking.
107
@crawler_user_agents = [
11-
# 'googlebot',
12-
# 'yahoo',
13-
# 'bingbot',
8+
'googlebot',
9+
'yahoo',
10+
'bingbot',
1411
'baiduspider',
1512
'facebookexternalhit',
1613
'twitterbot',

0 commit comments

Comments
 (0)