Skip to content

Commit

Permalink
fix: sitemap data
Browse files Browse the repository at this point in the history
Signed-off-by: Innei <[email protected]>
  • Loading branch information
Innei committed Sep 13, 2023
1 parent 6baeb47 commit e0d2219
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/app/sitemap/route.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ export const GET = async () => {
.map(
(item: any) => `<url>
<loc>${item.url}</loc>
<lastmod>${item.publishedAt || 'N/A'}</lastmod>
${!!item.published_at && `<lastmod>${item.published_at || 'N/A'}</lastmod>`}
<changefreq>daily</changefreq>
</url>`,
)
Expand Down

1 comment on commit e0d2219

@vercel
Copy link

@vercel vercel bot commented on e0d2219 Sep 13, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

shiro – ./

shiro-innei.vercel.app
shiro-git-main-innei.vercel.app
innei.in
springtide.vercel.app

Please sign in to comment.