lib/big_sitemap.rb in big_sitemap-1.0.0 vs lib/big_sitemap.rb in big_sitemap-1.0.1

- old
+ new

@@ -177,10 +177,10 @@ def add_urls return self if Array(@paths).empty? with_sitemap do |builder| @paths.each do |path, options| - url = File.join @options[:base_url], File.basename(path) + url = URI.join(@options[:base_url], path) builder.add_url! url, options end end self