We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 89d48f8 + 4a3be07 commit 51899a2Copy full SHA for 51899a2
lib/prerender_rails.rb
@@ -128,7 +128,7 @@ def should_show_prerendered_page(env)
128
#if it is a bot and not requesting a resource and is not whitelisted...dont prerender
129
return false if @options[:whitelist].is_a?(Array) && @options[:whitelist].all? { |whitelisted| !Regexp.new(whitelisted).match(request.fullpath) }
130
131
- #if it is a bot and not requesting a resource and is not blacklisted(url or referer)...dont prerender
+ #if it is a bot and not requesting a resource and is blacklisted(url or referer)...dont prerender
132
if @options[:blacklist].is_a?(Array) && @options[:blacklist].any? { |blacklisted|
133
blacklistedUrl = false
134
blacklistedReferer = false
0 commit comments