fix(brochure): use dynamic base URL and resolve singular/plural routing conflict
All checks were successful
Build & Deploy / 🔍 Prepare (push) Successful in 11s
Build & Deploy / 🧪 QA (push) Successful in 1m11s
Build & Deploy / 🏗️ Build (push) Successful in 2m30s
Build & Deploy / 🚀 Deploy (push) Successful in 21s
Build & Deploy / 🧪 Post-Deploy Verification (push) Successful in 4m59s
Build & Deploy / 🔔 Notify (push) Successful in 2s

This commit is contained in:
2026-04-13 21:46:37 +02:00
parent e6225ba6fd
commit 32361403d0
2 changed files with 7 additions and 5 deletions

View File

@@ -435,16 +435,16 @@ const nextConfig = {
destination: '/api/datasheets/:path*',
},
{
source: '/:locale/brochures/:path*',
destination: '/api/brochures/:path*',
source: '/:locale/brochure/:path*',
destination: '/brochure/:path*',
},
{
source: '/datasheets/:path*',
destination: '/api/datasheets/:path*',
},
{
source: '/brochures/:path*',
destination: '/api/brochures/:path*',
source: '/brochure/:path*',
destination: '/brochure/:path*',
},
{
source: '/de/produkte',