Files
modelruimte/next.config.ts
robbertjanssen85andClaude Opus 4.6 c639db6fdf Add casus images, error pages, and various UI improvements
- Add Gerard Doustraat casus images
- Add error/not-found pages and SVG favicon
- Improve HandleidingDiagrams, LayoutSwitcher, ParameterEditor
- Enhance RebelExcelLayout with service level curves
- Update model-data, simulation state, and content

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-15 22:11:27 +01:00

30 lines
856 B
TypeScript

import type { NextConfig } from "next";
const nextConfig: NextConfig = {
poweredByHeader: false,
images: {
formats: ['image/avif', 'image/webp'],
},
async headers() {
return [
{
source: '/(.*)',
headers: [
{ key: 'X-Frame-Options', value: 'DENY' },
{ key: 'X-Content-Type-Options', value: 'nosniff' },
{ key: 'Referrer-Policy', value: 'strict-origin-when-cross-origin' },
{
key: 'Permissions-Policy',
value: 'camera=(), microphone=(), geolocation=()',
},
// CSP intentionally omitted -- Next.js requires nonce-based CSP via
// middleware for proper inline script/style support. Add middleware.ts
// with nonce generation if a strict CSP is required.
],
},
];
},
};
export default nextConfig;