🔧 Add blog endpoint to viewer rewrites
This commit is contained in:
@@ -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([
|
.concat([
|
||||||
|
|||||||
Reference in New Issue
Block a user