fixed
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user