cache disabled for blog homePage
This commit is contained in:
parent
3af28d9eec
commit
5123f4e2d1
@ -9,7 +9,7 @@ export default async function Blog() {
|
|||||||
latest_categories: [];
|
latest_categories: [];
|
||||||
most_viewed_posts: [];
|
most_viewed_posts: [];
|
||||||
random_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(),
|
(res) => res.json(),
|
||||||
);
|
);
|
||||||
return (
|
return (
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user