forked from UKSOURCE/hailearning.edu.vn
fix: blog dynamic build
This commit is contained in:
@@ -138,6 +138,8 @@ export const fetchServicePageData = async (): Promise<ServicePageData> => {
|
||||
headers: {
|
||||
"Content-Type": "application/json",
|
||||
},
|
||||
// Không cache - luôn fetch dữ liệu mới nhất
|
||||
cache: "no-store",
|
||||
});
|
||||
|
||||
console.log("Services API response status:", response.status);
|
||||
@@ -179,6 +181,8 @@ export const fetchServiceBySlug = async (slug: string): Promise<any> => {
|
||||
headers: {
|
||||
"Content-Type": "application/json",
|
||||
},
|
||||
// Không cache - luôn fetch dữ liệu mới nhất
|
||||
cache: "no-store",
|
||||
});
|
||||
|
||||
console.log("Response status:", response.status);
|
||||
|
||||
Reference in New Issue
Block a user