Skip to content

Commit

Permalink
fix(nx-dev): add missing redirects
Browse files Browse the repository at this point in the history
  • Loading branch information
meeroslav authored and juristr committed Jul 19, 2023
1 parent 7280cb0 commit 34cde20
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions nx-dev/nx-dev/next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,22 @@ module.exports = withNx({
permanent: true,
});
}
// Plugins Documents
for (let s of Object.keys(redirectRules.pluginUrls)) {
rules.push({
source: s,
destination: redirectRules.pluginUrls[s],
permanent: true,
});
}
// References
for (let s of Object.keys(redirectRules.referenceUrls)) {
rules.push({
source: s,
destination: redirectRules.referenceUrls[s],
permanent: true,
});
}
// Nesting 5min tutorials in Getting Started
for (let s of Object.keys(redirectRules.nested5minuteTutorialUrls)) {
rules.push({
Expand Down

1 comment on commit 34cde20

@vercel
Copy link

@vercel vercel bot commented on 34cde20 Jul 19, 2023

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-dev-nrwl.vercel.app
nx-five.vercel.app
nx.dev

Please sign in to comment.