Fix params.page for currentPage in per page blogs sitemap

This commit is contained in:
Quinn Hegeman
2026-03-08 16:20:33 +01:00
parent a5bc93f4d6
commit 44437c766b

View File

@@ -14,7 +14,7 @@ export const GET = (async ({ params }) => {
});
}
const currentPage = 1;
const currentPage = params.page;
const blogs = await getAllBlogs(settings);
const selectedBlogs = blogs.slice(