mirror of
https://github.com/lowdefy/lowdefy.git
synced 2025-03-31 15:20:32 +08:00
Merge pull request #591 from lowdefy/fix-sitemap
fix(docs): Sitemap must be https.
This commit is contained in:
commit
7fe15d7272
File diff suppressed because it is too large
Load Diff
2
packages/docs/templates/generateSitemap.js
vendored
2
packages/docs/templates/generateSitemap.js
vendored
@ -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>
|
||||
|
Loading…
x
Reference in New Issue
Block a user