Files
klz-cables.com/next.config.ts
2025-12-28 23:28:31 +01:00

40 lines
695 B
TypeScript

import type { NextConfig } from 'next'
const nextConfig: NextConfig = {
experimental: {
serverActions: {
bodySizeLimit: '10mb',
},
},
images: {
remotePatterns: [
{
protocol: 'https',
hostname: '**',
},
],
},
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