fix(next-config): restore missing datasheet and brochure rewrites and fix naming
Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 10s
Build & Deploy / 🧪 QA (push) Successful in 4m53s
Build & Deploy / 🏗️ Build (push) Successful in 5m0s
Build & Deploy / 🚀 Deploy (push) Successful in 23s
Build & Deploy / 🧪 Post-Deploy Verification (push) Failing after 5m15s
Build & Deploy / 🔔 Notify (push) Successful in 2s

This commit is contained in:
2026-03-11 00:54:27 +01:00
parent 975ac79059
commit 4f464f8bb7

View File

@@ -432,11 +432,19 @@ const nextConfig = {
beforeFiles: [
{
source: '/:locale/datasheets/:path*',
destination: '/datasheets/:path*',
destination: '/api/datasheets/:path*',
},
{
source: '/:locale/brochure/:path*',
destination: '/brochure/:path*',
source: '/:locale/brochures/:path*',
destination: '/api/brochures/:path*',
},
{
source: '/datasheets/:path*',
destination: '/api/datasheets/:path*',
},
{
source: '/brochures/:path*',
destination: '/api/brochures/:path*',
},
{
source: '/de/produkte',