53 lines
998 B
JavaScript
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;
|