fix: remove agbs rewrite rules that conflict with slug-mapping (redirect loop)
Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 6s
Build & Deploy / 🧪 QA (push) Successful in 56s
Build & Deploy / 🏗️ Build (push) Failing after 16s
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:
2026-03-13 15:35:01 +01:00
parent 8ad3abb6f3
commit 4aef49cf2c

View File

@@ -443,10 +443,6 @@ const nextConfig = {
source: '/de/kontakt', source: '/de/kontakt',
destination: '/de/contact', destination: '/de/contact',
}, },
{
source: '/de/agbs',
destination: '/de/terms',
},
// Safety rewrites for English locale using German slugs (legacy or content errors) // Safety rewrites for English locale using German slugs (legacy or content errors)
{ {
source: '/en/produkte', source: '/en/produkte',
@@ -468,10 +464,6 @@ const nextConfig = {
source: '/en/datenschutz', source: '/en/datenschutz',
destination: '/en/privacy-policy', destination: '/en/privacy-policy',
}, },
{
source: '/en/agbs',
destination: '/en/terms',
},
], ],
afterFiles: [], afterFiles: [],
fallback: [], fallback: [],