Skip to content

Commit

Permalink
Merge pull request #346 from ekalinin/bump-deps
Browse files Browse the repository at this point in the history
Bump deps
  • Loading branch information
derduher authored Feb 11, 2021
2 parents 46997e9 + f891611 commit 0562335
Show file tree
Hide file tree
Showing 4 changed files with 2,068 additions and 628 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## 6.3.6

- bump dependencies

## 6.3.5

- Add option to silence or redirect logs from parse #337
Expand Down
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,10 @@ const sms = new SitemapAndIndexStream({
// for it to write the sitemap urls to and the expected url where that sitemap will be hosted
getSitemapStream: (i) => {
const sitemapStream = new SitemapStream({ hostname: 'https://example.com' });
const path = `./sitemap-${i}.xml`;
// if your server automatically serves sitemap.xml.gz when requesting sitemap.xml leave this line be
// otherwise you will need to add .gz here and remove it a couple lines below so that both the index
// and the actual file have a .gz extension
const path = `./sitemap-${i}.xml`;

sitemapStream
.pipe(createGzip()) // compress the output of the sitemap
Expand Down
Loading

0 comments on commit 0562335

Please sign in to comment.