2
0

🔧 Add blog endpoint to viewer rewrites

This commit is contained in:
Baptiste Arnaud
2024-04-19 15:50:40 +02:00
parent 6fe4e28bc3
commit e4e724d4a1

View File

@ -128,6 +128,16 @@ const nextConfig = {
],
}))
)
.concat([
{
source: '/blog',
destination: `${process.env.LANDING_PAGE_URL}/blog`,
},
{
source: '/blog/:slug',
destination: `${process.env.LANDING_PAGE_URL}/blog/:slug`, // Matched parameters can be used in the destination
},
])
: []
)
.concat([