fix: add baseUrl to sitemap URLs (#902)

This commit is contained in:
Yong-Siang Shih 2018-08-12 07:49:45 -04:00 committed by Endilie Yacop Sucipto
parent 8f9f7a5602
commit 8de57b5c0c

View file

@ -83,7 +83,7 @@ module.exports = function(callback) {
});
const sm = sitemap.createSitemap({
hostname: siteConfig.url,
hostname: siteConfig.url + siteConfig.baseUrl,
cacheTime: 600 * 1000, // 600 sec - cache purge period
urls,
});