build issue fixed

This commit is contained in:
Selvi 2026-06-11 17:24:30 +05:30
parent 180302cee1
commit e0dc97b57d
2 changed files with 3 additions and 2 deletions

View File

@ -1,8 +1,9 @@
/** @type {import('next').NextConfig} */ /** @type {import('next').NextConfig} */
const nextConfig = { const nextConfig = {
output: 'export',
trailingSlash: true, trailingSlash: true,
images: { images: {
unoptimized: true, // ✅ needed unoptimized: true,
}, },
}; };

View File

@ -1,6 +1,6 @@
import { fallbackGoogleReviews } from '@/lib/reviewUtils'; import { fallbackGoogleReviews } from '@/lib/reviewUtils';
export const dynamic = 'force-dynamic'; export const dynamic = 'force-static';
const SERPAPI_URL = 'https://serpapi.com/search.json?engine=google_maps_reviews&hl=en'; const SERPAPI_URL = 'https://serpapi.com/search.json?engine=google_maps_reviews&hl=en';