Preview: next.config.ts
Size: 1.25 KB
/var/www/nea-dev-frontend.wpress.dk/httpdocs/next.config.ts
import type { NextConfig } from 'next';
const nextConfig: NextConfig = {
trailingSlash: true,
staticPageGenerationTimeout: 180, // seconds
async rewrites() {
return [
{
source: '/:sitemap*.xml',
destination: '/sitemaps/:sitemap*.xml',
},
];
},
images: {
remotePatterns: [
{
protocol: 'http',
hostname: 'nea-dev.local',
port: '',
},
{
protocol: 'https',
hostname: 'nea-dev.wpress.dk',
port: '',
},
{
protocol: "https",
hostname: "env-conceptsite-phases.kinsta.cloud",
port: "",
},
{
protocol: "https",
hostname: "cms.nationaleczema.org",
port: "",
},
{
protocol: 'https',
hostname: 'conceptsite.kinsta.cloud',
port: '',
},
{
protocol: 'https',
hostname: 'env-conceptsite-phases.kinsta.cloud',
port: '',
},
{
protocol: 'https',
hostname: 'nationaleczema.org',
port: '',
},
{
protocol: 'https',
hostname: 'images.unsplash.com',
port: '',
},
{
hostname: 'via.placeholder.com',
},
],
},
};
export default nextConfig;
Directory Contents
Dirs: 7 × Files: 17