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
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:
@@ -432,11 +432,19 @@ const nextConfig = {
|
|||||||
beforeFiles: [
|
beforeFiles: [
|
||||||
{
|
{
|
||||||
source: '/:locale/datasheets/:path*',
|
source: '/:locale/datasheets/:path*',
|
||||||
destination: '/datasheets/:path*',
|
destination: '/api/datasheets/:path*',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
source: '/:locale/brochure/:path*',
|
source: '/:locale/brochures/:path*',
|
||||||
destination: '/brochure/:path*',
|
destination: '/api/brochures/:path*',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
source: '/datasheets/:path*',
|
||||||
|
destination: '/api/datasheets/:path*',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
source: '/brochures/:path*',
|
||||||
|
destination: '/api/brochures/:path*',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
source: '/de/produkte',
|
source: '/de/produkte',
|
||||||
|
|||||||
Reference in New Issue
Block a user