Merge pull request #591 from lowdefy/fix-sitemap

fix(docs): Sitemap must be https.
This commit is contained in:
Sam 2021-05-26 13:30:55 +02:00 committed by GitHub
commit 7fe15d7272
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 378 additions and 363 deletions

File diff suppressed because it is too large Load Diff

View File

@ -25,7 +25,7 @@ function transformer(pages) {
const addPage = (acc, page) => {
return acc.concat(`
<url>
<loc>http://docs.lowdefy.com/${page.id}</loc>
<loc>https://docs.lowdefy.com/${page.id}</loc>
<lastmod>${now.getFullYear()}-${now.getMonth() > 8 ? '' : 0}${now.getMonth() + 1}-${
now.getDate() > 9 ? '' : 0
}${now.getDate()}</lastmod>