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
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:
@@ -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: [],
|
||||||
|
|||||||
Reference in New Issue
Block a user