32 lines
603 B
JavaScript
32 lines
603 B
JavaScript
/** @type {import('next').NextConfig} */
|
|
const nextConfig = {
|
|
images: {
|
|
remotePatterns: [
|
|
{
|
|
protocol: 'https',
|
|
hostname: 'warme.dk',
|
|
},
|
|
],
|
|
},
|
|
typescript: {
|
|
// Only run TypeScript checks in development
|
|
ignoreBuildErrors: process.env.NODE_ENV === 'production',
|
|
},
|
|
async headers() {
|
|
return [
|
|
{
|
|
source: '/:path*',
|
|
headers: [
|
|
{
|
|
key: 'Cache-Control',
|
|
value: 'public, max-age=31536000, immutable',
|
|
},
|
|
],
|
|
},
|
|
]
|
|
},
|
|
optimizeFonts: true,
|
|
};
|
|
|
|
export default nextConfig;
|