From db58ae240fd99b082207dd2f14c820393667f92e Mon Sep 17 00:00:00 2001 From: Samandar Turgunboyev Date: Thu, 26 Feb 2026 14:06:52 +0500 Subject: [PATCH] fix --- src/app/[locale]/about/page.tsx | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/app/[locale]/about/page.tsx b/src/app/[locale]/about/page.tsx index fa51865..97b94f9 100644 --- a/src/app/[locale]/about/page.tsx +++ b/src/app/[locale]/about/page.tsx @@ -1,4 +1,5 @@ // app/[locale]/about/page.tsx +export const dynamic = 'force-dynamic'; import { AboutContent } from '@/features/about/ui/AboutContent'; import { AboutHero } from '@/features/about/ui/AboutHero'; import { PartnershipForm } from '@/features/about/ui/AboutPage'; @@ -12,10 +13,8 @@ function getImageUrl(image?: string | null): string { const fetchAboutData = async () => { const res = await fetch( - `https://api.gastro.felixits.uz/api/v1/shared/aboutus/`, - { - cache: 'no-store', - }, + 'https://api.gastro.felixits.uz/api/v1/shared/aboutus/', + { next: { revalidate: 10 } }, // 5 daqiqa ); if (!res.ok) throw new Error(`Failed to fetch about data: ${res.status}`); return res.json();