From e490a38b2abfa8a5be95b100dd306700b3853947 Mon Sep 17 00:00:00 2001 From: Jay <109908594+GokuxSS4@users.noreply.github.com> Date: Tue, 28 Jan 2025 22:35:00 +0530 Subject: [PATCH] Update sitemap.ts --- app/sitemap.ts | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/app/sitemap.ts b/app/sitemap.ts index 64fb024..3890aaf 100644 --- a/app/sitemap.ts +++ b/app/sitemap.ts @@ -1,18 +1,9 @@ import { MetadataRoute } from "next"; export default async function sitemap(): Promise { - // const postEntries: MetadataRoute.Sitemap = posts.map(({ id }) => ({ - // url: `${process.env.NEXT_PUBLIC_BASE_URL}/posts/${id}`, - // // lastModified: new Date(post.updatedAt), - // // changeFrequency:, - // // priority: - // })); - return [ { - url: `${process.env.NEXT_PUBLIC_BASE_URL}/about`, - lastModified: new Date(), + url: `${process.env.NEXT_PUBLIC_BASE_URL}`, }, - // ...postEntries, ]; }