mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2025-11-23 12:06:07 -05:00
backpedal a bit on caching
This commit is contained in:
@@ -36,7 +36,8 @@ const sitemap = async (): Promise<MetadataRoute.Sitemap> => {
|
||||
});
|
||||
});
|
||||
|
||||
(await getFrontMatter()).forEach((post) => {
|
||||
const frontmatter = await getFrontMatter();
|
||||
frontmatter.forEach((post) => {
|
||||
routes.push({
|
||||
url: post.permalink,
|
||||
// pull lastModified from front matter date
|
||||
|
||||
Reference in New Issue
Block a user