🔧 (blog) Fix static viewer rewrites for blog posts
This commit is contained in:
@ -140,6 +140,17 @@ const nextConfig = {
|
||||
],
|
||||
destination: `${process.env.LANDING_PAGE_URL}/blog/:slug`,
|
||||
},
|
||||
{
|
||||
source: '/_next/static/:static*',
|
||||
has: [
|
||||
{
|
||||
type: 'header',
|
||||
key: 'referer',
|
||||
value: `https://typebot.io/blog/(?<slug>.*)`,
|
||||
},
|
||||
],
|
||||
destination: `${process.env.LANDING_PAGE_URL}/_next/static/:static*`,
|
||||
},
|
||||
{
|
||||
source: '/typebots/:typebot*',
|
||||
has: [
|
||||
|
Reference in New Issue
Block a user