🐛 (blog) Fix referer regex matcher
This commit is contained in:
@ -146,7 +146,7 @@ const nextConfig = {
|
|||||||
{
|
{
|
||||||
type: 'header',
|
type: 'header',
|
||||||
key: 'referer',
|
key: 'referer',
|
||||||
value: `https://typebot.io/blog/(?<slug>/.*)`,
|
value: `https://typebot.io/blog(?<slug>/.*)`,
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
destination: `${process.env.LANDING_PAGE_URL}/_next/static/:static*`,
|
destination: `${process.env.LANDING_PAGE_URL}/_next/static/:static*`,
|
||||||
@ -157,7 +157,7 @@ const nextConfig = {
|
|||||||
{
|
{
|
||||||
type: 'header',
|
type: 'header',
|
||||||
key: 'referer',
|
key: 'referer',
|
||||||
value: `https://typebot.io/blog/(?<slug>/.*)`,
|
value: `https://typebot.io/blog(?<slug>/.*)`,
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
destination: `${process.env.LANDING_PAGE_URL}/images/blog/:images*`,
|
destination: `${process.env.LANDING_PAGE_URL}/images/blog/:images*`,
|
||||||
@ -179,7 +179,7 @@ const nextConfig = {
|
|||||||
{
|
{
|
||||||
type: 'header',
|
type: 'header',
|
||||||
key: 'referer',
|
key: 'referer',
|
||||||
value: `https://typebot.io/blog/(?<slug>/.*)`,
|
value: `https://typebot.io/blog(?<slug>/.*)`,
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
destination: `${process.env.LANDING_PAGE_URL}/styles/:style*`,
|
destination: `${process.env.LANDING_PAGE_URL}/styles/:style*`,
|
||||||
|
Reference in New Issue
Block a user