This commit is contained in:
Samandar Turgunboyev
2026-02-26 14:32:07 +05:00
parent e2aa75031e
commit f68bdcd89e

View File

@@ -14,7 +14,7 @@ function getImageUrl(image?: string | null): string {
const fetchAboutData = async () => {
const res = await fetch(
'https://api.gastro.felixits.uz/api/v1/shared/aboutus/',
{ next: { revalidate: 10 } }, // 5 daqiqa
{ cache: 'no-store' },
);
if (!res.ok) throw new Error(`Failed to fetch about data: ${res.status}`);
const data = await res.json();