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

@@ -12,6 +12,9 @@ import localHomeData from './home.json';
import { getCmsImageUrl } from '@/utils/image';
import { fetchHomeData } from '@/api';
// Force dynamic rendering - không cache
export const dynamic = 'force-dynamic';
export default async function Home() {
// Fetch home data (blog aggregation is now handled by the backend)
const apiHomeData = await fetchHomeData();