/** @type {import('next').NextConfig} */ const securityHeaders = [ { key: 'X-Frame-Options', value: 'DENY' }, { key: 'X-Content-Type-Options', value: 'nosniff' }, { key: 'Referrer-Policy', value: 'no-referrer' }, { key: 'Permissions-Policy', value: 'camera=(), microphone=(), geolocation=(), hid=(self), usb=(self)' }, { key: 'Strict-Transport-Security', value: 'max-age=63072000; includeSubDomains; preload' }, ]; export default { reactStrictMode: true, poweredByHeader: false, async headers() { return [{ source: '/:path*', headers: securityHeaders }]; }, };