diff --git a/next.config.mjs b/next.config.mjs index ba5aaa4..d7186e3 100644 --- a/next.config.mjs +++ b/next.config.mjs @@ -1,8 +1,9 @@ /** @type {import('next').NextConfig} */ const nextConfig = { + output: 'export', trailingSlash: true, images: { - unoptimized: true, // ✅ needed + unoptimized: true, }, }; diff --git a/src/app/api/reviews/route.js b/src/app/api/reviews/route.js index a5c77c1..0d23d1b 100644 --- a/src/app/api/reviews/route.js +++ b/src/app/api/reviews/route.js @@ -1,6 +1,6 @@ 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';