mirror of
https://github.com/r-freeman/portfolio.git
synced 2024-11-22 20:15:41 +00:00
Fixed url in sitemap.ts
This commit is contained in:
parent
5abce4bf65
commit
0edbaf5573
@ -17,7 +17,7 @@ export default async function sitemap(): Promise<MetadataRoute.Sitemap> {
|
|||||||
}))
|
}))
|
||||||
|
|
||||||
const posts = (await getAllArticles()).map(({slug, date}) => ({
|
const posts = (await getAllArticles()).map(({slug, date}) => ({
|
||||||
url: `https://ryanfreeman.dev/${slug}/`,
|
url: `https://ryanfreeman.dev/writing/${slug}/`,
|
||||||
lastModified: new Date(date).toISOString()
|
lastModified: new Date(date).toISOString()
|
||||||
}))
|
}))
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user