Metatron-Website-India/next.config.js
2025-08-29 21:46:25 +05:30

28 lines
596 B
JavaScript

/** @type {import('next').NextConfig} */
const nextConfig = {
output: "export",
reactStrictMode: false,
trailingSlash: true,
images: {
unoptimized: true, // ⬅ required for static export to work with next/image
domains: ['your-cdn.com', 'images.unsplash.com'], // allow external domains
},
async headers() {
return [
{
source: '/(.*)',
headers: [
{
key: 'Cache-Control',
value: 'no-store, no-cache, must-revalidate, proxy-revalidate',
},
],
},
];
},
};
module.exports = nextConfig;