fix: blog dynamic build

This commit is contained in:
Wini_Fy
2026-02-06 12:09:33 +07:00
parent 300928ecb1
commit a9ff0e8947
8 changed files with 30 additions and 21 deletions

View File

@@ -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);