Skip to content

Commit

Permalink
chore(docs): removing legacy redirects
Browse files Browse the repository at this point in the history
  • Loading branch information
dbanksdesign committed Nov 18, 2022
1 parent a421840 commit 459d77d
Showing 1 changed file with 2 additions and 12 deletions.
14 changes: 2 additions & 12 deletions docs/next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -78,16 +78,6 @@ module.exports = withNextPluginPreval({
destination: '/:platform/connected-components/in-app-messaging/:page*',
permanent: true,
},
{
source: '/:platform(react|angular|vue)/components/storage',
destination: '/:platform/legacy-components/storage',
permanent: true,
},
{
source: '/:platform(react|angular|vue)/components/chatbot',
destination: '/:platform/legacy-components/chatbot',
permanent: true,
},
{
source: '/ui/primitives/stepperField',
destination: '/components/stepperfield',
Expand Down Expand Up @@ -145,7 +135,7 @@ module.exports = withNextPluginPreval({
*/
{
source:
'/:nav(legacy-components|connected-components|components|getting-started|guides|theming)/:page*',
'/:nav(connected-components|components|getting-started|guides|theming)/:page*',
destination: '/react/:nav/:page*',
permanent: true,
},
Expand All @@ -155,7 +145,7 @@ module.exports = withNextPluginPreval({
*/
{
source:
'/:nav(legacy-components|connected-components|components|getting-started|guides|theming)',
'/:nav(connected-components|components|getting-started|guides|theming)',
destination: '/react/:nav',
permanent: true,
},
Expand Down

0 comments on commit 459d77d

Please sign in to comment.