Skip to content

Commit

Permalink
docs(nxdev): add /docs redirect rule (#12372)
Browse files Browse the repository at this point in the history
  • Loading branch information
bcabanes authored Oct 3, 2022
1 parent 26e7101 commit 09afb89
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions nx-dev/nx-dev/next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,13 @@ module.exports = withNx({
destination: '/',
permanent: true,
});

// Docs
rules.push({
source: '/docs',
destination: '/getting-started/intro',
permanent: true,
});
return rules;
},
});

1 comment on commit 09afb89

@vercel
Copy link

@vercel vercel bot commented on 09afb89 Oct 3, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

nx-dev – ./

nx-dev-git-master-nrwl.vercel.app
nx-five.vercel.app
nx-dev-nrwl.vercel.app
nx.dev

Please sign in to comment.