diff --git a/app/api/homepage/content/route.ts b/app/api/homepage/content/route.ts index a27b098..9dc1629 100644 --- a/app/api/homepage/content/route.ts +++ b/app/api/homepage/content/route.ts @@ -27,7 +27,8 @@ import { unstable_cache } from 'next/cache'; export const runtime = 'edge'; // ISR revalidation configuration -export const revalidate = CACHE_TTL.HOMEPAGE_CONTENT; +// Note: Must be a static value, not an expression (Next.js requirement) +export const revalidate = 3600; // 1 hour (matches CACHE_TTL.HOMEPAGE_CONTENT) // ============================================================================ // TYPES