forked from UKSOURCE/hailearning.edu.vn
fix: blog dynamic build
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user