Skip to content

Commit

Permalink
web: Redirect subpages of FAQ too
Browse files Browse the repository at this point in the history
  • Loading branch information
birkjernstrom committed Dec 8, 2023
1 parent af3ee41 commit a0d5bd4
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions clients/apps/web/next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,11 @@ const nextConfig = {
destination: 'https://docs.polar.sh/faq',
permanent: false,
},
{
source: '/faq/:path*',
destination: 'https://docs.polar.sh/faq/:path*',
permanent: false,
},
{
source: '/:path*',
destination: 'https://polar.sh/:path*',
Expand Down

0 comments on commit a0d5bd4

Please sign in to comment.