Skip to content

Commit

Permalink
detail
Browse files Browse the repository at this point in the history
  • Loading branch information
Phaidra Admin committed Jul 9, 2021
1 parent ae72d88 commit 3ad1b35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ async function createSitemap(){
}

// console.log('[' + i + '/' + total + '] processing title[' + doc.pid + '] latestModified[' + latestModified + ']')
urls.push({ loc: 'https://' + config.baseurl + '/' + doc.pid, lastmod: doc.modified })
urls.push({ loc: 'https://' + config.baseurl + '/detail/' + doc.pid, lastmod: doc.modified })

if (urls.length > 10000) {
let xml = getSitemapXml(urls)
Expand Down

0 comments on commit 3ad1b35

Please sign in to comment.