build issue fixed
This commit is contained in:
parent
180302cee1
commit
e0dc97b57d
@ -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,
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@ -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';
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user