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.
1 parent 964331f commit 4a3be07Copy full SHA for 4a3be07
lib/prerender_rails.rb
@@ -127,7 +127,7 @@ def should_show_prerendered_page(env)
127
#if it is a bot and not requesting a resource and is not whitelisted...dont prerender
128
return false if @options[:whitelist].is_a?(Array) && @options[:whitelist].all? { |whitelisted| !Regexp.new(whitelisted).match(request.fullpath) }
129
130
- #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
131
if @options[:blacklist].is_a?(Array) && @options[:blacklist].any? { |blacklisted|
132
blacklistedUrl = false
133
blacklistedReferer = false
0 commit comments