Skip to content

Commit

Permalink
Update sitemap.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
GokuxSS4 authored Jan 28, 2025
1 parent 06efc12 commit e490a38
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions app/sitemap.ts
Original file line number Diff line number Diff line change
@@ -1,18 +1,9 @@
import { MetadataRoute } from "next";

export default async function sitemap(): Promise<MetadataRoute.Sitemap> {
// 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,
];
}

0 comments on commit e490a38

Please sign in to comment.