don't compress the sitemap

This commit is contained in:
Julian Herrero
2016-12-02 11:29:35 +01:00
parent bb61d73c04
commit 3940165642

View File

@@ -1,3 +1,9 @@
# not use compression
class SitemapGenerator::FileAdapter
def gzip(stream, data); stream.write(data); stream.close end
end
SitemapGenerator::Sitemap.namer = SitemapGenerator::SimpleNamer.new(:sitemap, extension: '.xml')
# default host
SitemapGenerator::Sitemap.default_host = "https://decide.madrid.es"