cache disabled for blog homePage

This commit is contained in:
parsa aghaei 2024-11-11 12:27:12 +03:30
parent 3af28d9eec
commit 5123f4e2d1

View File

@ -9,7 +9,7 @@ export default async function Blog() {
latest_categories: [];
most_viewed_posts: [];
random_posts: [];
} = await fetch(`${process.env.NEXT_PUBLIC_BLOG_API_URL}/homepage`).then(
} = await fetch(`${process.env.NEXT_PUBLIC_BLOG_API_URL}/homepage`,{cache:"no-store"}).then(
(res) => res.json(),
);
return (