Skip to content

Commit

Permalink
fix(nx-dev): add redirects for new tutorials
Browse files Browse the repository at this point in the history
  • Loading branch information
bcabanes committed Apr 17, 2023
1 parent 4ee1ba5 commit 424ea7d
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions nx-dev/nx-dev/next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,14 @@ module.exports = withNx({
permanent: true,
});
}
// Tutorials / Getting started
for (let s of Object.keys(redirectRules.conceptUrls)) {
rules.push({
source: s,
destination: redirectRules.conceptUrls[s],
permanent: true,
});
}

// Packages Indexes
for (let s of Object.keys(redirectRules.packagesIndexes)) {
Expand Down

0 comments on commit 424ea7d

Please sign in to comment.