Files
klz-cables.com/next.config.ts
2026-01-06 13:55:04 +01:00

41 lines
738 B
TypeScript

import type { NextConfig } from 'next'
const nextConfig: NextConfig = {
experimental: {
serverActions: {
bodySizeLimit: '10mb',
},
},
images: {
remotePatterns: [
{
protocol: 'https',
hostname: '**',
},
],
formats: ['image/avif', 'image/webp'],
},
async headers() {
return [
{
source: '/(.*)',
headers: [
{
key: 'X-Content-Type-Options',
value: 'nosniff',
},
{
key: 'X-Frame-Options',
value: 'DENY',
},
{
key: 'X-XSS-Protection',
value: '1; mode=block',
},
],
},
]
},
}
export default nextConfig