Files
Next.js/next.config.js
David Melendez c3868062e6 init commit
2026-01-14 22:44:08 +01:00

53 lines
998 B
JavaScript

/**
* Next.js Configuration
* Professional Resume Builder
*
* @author David Valera Melendez <david@valera-melendez.de>
* @created 2025-08-07
* @location Made in Germany 🇩🇪
*/
/** @type {import('next').NextConfig} */
const nextConfig = {
/* config options here */
experimental: {
typedRoutes: true,
},
images: {
domains: ['localhost'],
remotePatterns: [
{
protocol: 'https',
hostname: '**',
},
],
},
// Optimization settings
swcMinify: true,
// Custom headers for security
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',
},
],
},
];
},
};
module.exports = nextConfig;