From 67270601a2f9723f4964457782615e91856343cb Mon Sep 17 00:00:00 2001 From: JeelRajodiya Date: Wed, 10 Jul 2024 12:03:24 +0530 Subject: [PATCH] chore: add real url --- app/content/sitemap.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/content/sitemap.ts b/app/content/sitemap.ts index 5b62311..2478173 100644 --- a/app/content/sitemap.ts +++ b/app/content/sitemap.ts @@ -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(), }; });