fix(core): update

This commit is contained in:
2023-07-27 16:16:37 +02:00
parent 38d1d4ae0c
commit 8909652860
17 changed files with 4931 additions and 18520 deletions

View File

@@ -26,7 +26,7 @@ export class SitemapWebsite {
urls.push({
loc: urlInfoArg.url,
lastmod: new Date(urlInfoArg.timestamp).toISOString(),
changefreq: urlInfoArg.frequency ? urlInfoArg.frequency : 'weekly'
changefreq: urlInfoArg.frequency ? urlInfoArg.frequency : 'weekly',
});
}
const sitemapObject: any = {
@@ -39,4 +39,4 @@ export class SitemapWebsite {
const sitemapString = smartxmlInstance.createXmlFromObject(sitemapObject);
return sitemapString;
}
}
}