Skip to content

Commit

Permalink
Redirect old reset urls to plugin hub
Browse files Browse the repository at this point in the history
  • Loading branch information
ardatan committed Nov 24, 2021
1 parent 8497fc7 commit 7673256
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions website/next.config.js
Expand Up @@ -25,4 +25,18 @@ module.exports = withGuildDocs({
return config;
},
swcMinify: false,
async redirects() {
return [
{
source: '/docs/presets/:presetName',
destination: '/plugins/:presetName-preset',
permanent: true,
},
{
source: '/docs/plugins/:pluginName',
destination: '/plugins/:pluginName',
permanent: true,
}
];
},
});

1 comment on commit 7673256

@vercel
Copy link

@vercel vercel bot commented on 7673256 Nov 24, 2021

Choose a reason for hiding this comment

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

Please sign in to comment.