Skip to content

Commit

Permalink
chore: add real url
Browse files Browse the repository at this point in the history
  • Loading branch information
JeelRajodiya committed Jul 10, 2024
1 parent fd1545a commit 6727060
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion app/content/sitemap.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@ export default async function sitemap() {

const sitemapItems: SitemapItem[] = pathList.map((path) => {
return {
url: `/${contentManager.getPathWithPrefix(path.markdownPath.join("/"))}`,
url: `https://json-schema-org.github.io/tour/${contentManager.getPathWithPrefix(
path.markdownPath.join("/")
)}`,
lastModified: new Date(),
};
});
Expand Down

0 comments on commit 6727060

Please sign in to comment.