Skip to content

Commit

Permalink
docs(nxdev): add /docs redirect rule (nrwl#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;
},
});

0 comments on commit 09afb89

Please sign in to comment.