app/models/concerns/adminpanel/sitemap.rb in adminpanel-2.4.3 vs app/models/concerns/adminpanel/sitemap.rb in adminpanel-2.5.0
- old
+ new
@@ -19,10 +19,9 @@
def ping_engines
logger.info Time.now
ping_urls.each do |name, url|
request = url % CGI.escape("#{root_url}/sitemap.xml")
- logger.info root_url
logger.info " Pinging #{name} with #{request}"
if !Rails.env.development?
response = Net::HTTP.get_response(URI.parse(request))
logger.info " #{response.code}: #{response.message}"
logger.info " Body: #{response.body}"