Skip to content

Commit

Permalink
🐛 (blog) Fix referer regex matcher
Browse files Browse the repository at this point in the history
  • Loading branch information
baptisteArno committed May 3, 2024
1 parent 29d0cae commit 1e5e085
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions apps/viewer/next.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ const nextConfig = {
{
type: 'header',
key: 'referer',
value: `https://typebot.io/blog/(?<slug>/.*)`,
value: `https://typebot.io/blog(?<slug>/.*)`,
},
],
destination: `${process.env.LANDING_PAGE_URL}/_next/static/:static*`,
Expand All @@ -157,7 +157,7 @@ const nextConfig = {
{
type: 'header',
key: 'referer',
value: `https://typebot.io/blog/(?<slug>/.*)`,
value: `https://typebot.io/blog(?<slug>/.*)`,
},
],
destination: `${process.env.LANDING_PAGE_URL}/images/blog/:images*`,
Expand All @@ -179,7 +179,7 @@ const nextConfig = {
{
type: 'header',
key: 'referer',
value: `https://typebot.io/blog/(?<slug>/.*)`,
value: `https://typebot.io/blog(?<slug>/.*)`,
},
],
destination: `${process.env.LANDING_PAGE_URL}/styles/:style*`,
Expand Down

0 comments on commit 1e5e085

Please sign in to comment.