Skip to content

Commit

Permalink
100
Browse files Browse the repository at this point in the history
  • Loading branch information
SH20RAJ authored Mar 18, 2024
1 parent f1a6c8e commit 77e28c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/sitemap/[id]/route.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ console.log(generateRandomNumber(1,1000))
// Mock function to fetch articles (replace this with your actual implementation)
let getArticlesFromDevTo = async () => {
const response = await fetch(
`https://dev.to/api/articles/latest/?per_page=2000&page=${generateRandomNumber(1,1000).toString() || 54}`
`https://dev.to/api/articles/latest/?per_page=100&page=${generateRandomNumber(1,1000).toString() || 54}`
);
const data = await response.json();
return data;
Expand Down

0 comments on commit 77e28c3

Please sign in to comment.