Skip to content

Commit

Permalink
add permanent redirect from the old showcases URLs
Browse files Browse the repository at this point in the history
  • Loading branch information
VladislavSokov committed May 21, 2024
1 parent 5aac2c6 commit c903629
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion next.config.mjs
Original file line number Diff line number Diff line change
@@ -1,4 +1,19 @@
/** @type {import('next').NextConfig} */
const nextConfig = {};
const nextConfig = {
async redirects() {
return [
{
source: '/showcase-1-stripe-integration',
destination: '/showcases/stripe-integration',
permanent: true
},
{
source: '/showcase-2-prevent-account-sharing',
destination: '/showcases/prevent-account-sharing',
permanent: true
}
];
},
};

export default nextConfig;

0 comments on commit c903629

Please sign in to comment.