fix: resolve html invalid nesting, english routing 404s, and nodemailer missing credentials
Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 5s
Build & Deploy / 🧪 QA (push) Successful in 3m14s
Build & Deploy / 🏗️ Build (push) Failing after 2m43s
Build & Deploy / 🚀 Deploy (push) Has been skipped
Build & Deploy / 🧪 Post-Deploy Verification (push) Has been skipped
Build & Deploy / 🔔 Notify (push) Successful in 2s
Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 5s
Build & Deploy / 🧪 QA (push) Successful in 3m14s
Build & Deploy / 🏗️ Build (push) Failing after 2m43s
Build & Deploy / 🚀 Deploy (push) Has been skipped
Build & Deploy / 🧪 Post-Deploy Verification (push) Has been skipped
Build & Deploy / 🔔 Notify (push) Successful in 2s
This commit is contained in:
@@ -393,6 +393,7 @@ const nextConfig = {
|
||||
},
|
||||
images: {
|
||||
formats: ['image/webp'],
|
||||
deviceSizes: [640, 750, 828, 1080, 1200, 1920, 2048, 3840],
|
||||
remotePatterns: [
|
||||
{
|
||||
protocol: 'https',
|
||||
@@ -402,6 +403,14 @@ const nextConfig = {
|
||||
protocol: 'https',
|
||||
hostname: '*.klz-cables.com',
|
||||
},
|
||||
{
|
||||
protocol: 'http',
|
||||
hostname: 'klz-cables.com',
|
||||
},
|
||||
{
|
||||
protocol: 'http',
|
||||
hostname: '*.klz-cables.com',
|
||||
},
|
||||
{
|
||||
protocol: 'http',
|
||||
hostname: 'klz.localhost',
|
||||
@@ -427,6 +436,31 @@ const nextConfig = {
|
||||
source: '/de/kontakt',
|
||||
destination: '/de/contact',
|
||||
},
|
||||
// Safety rewrites for English locale using German slugs (legacy or content errors)
|
||||
{
|
||||
source: '/en/produkte',
|
||||
destination: '/en/products',
|
||||
},
|
||||
{
|
||||
source: '/en/produkte/:path*',
|
||||
destination: '/en/products/:path*',
|
||||
},
|
||||
{
|
||||
source: '/en/kontakt',
|
||||
destination: '/en/contact',
|
||||
},
|
||||
{
|
||||
source: '/en/impressum',
|
||||
destination: '/en/legal-notice',
|
||||
},
|
||||
{
|
||||
source: '/en/datenschutz',
|
||||
destination: '/en/privacy-policy',
|
||||
},
|
||||
{
|
||||
source: '/en/agbs',
|
||||
destination: '/en/terms',
|
||||
},
|
||||
],
|
||||
afterFiles: [],
|
||||
fallback: [],
|
||||
|
||||
Reference in New Issue
Block a user