Skip to content

Commit

Permalink
feat: redirect car routes
Browse files Browse the repository at this point in the history
  • Loading branch information
guilhermespopolin committed Jul 17, 2023
1 parent 579c21c commit 8490809
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions apps/store/next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,24 @@ module.exports = withBundleAnalyzer({
permanent: false,
locale: false,
},
{
source: '/(se/)?new-member/car',
has: [
{
type: 'query',
key: 'code',
},
],
destination: '/api/campaign/:code?code=&next=/se/forsakringar/bilforsakring',
permanent: false,
locale: false,
},
{
source: '/(se/)?new-member/car',
destination: '/se/forsakringar/bilforsakring',
permanent: false,
locale: false,
},
]
: []
return [...shutDownMarketsInfo, ...oldSiteRedirects, ...getExperimentVariantRedirects()]
Expand Down

0 comments on commit 8490809

Please sign in to comment.