Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions next.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,28 @@ const nextConfig = {
mdxRs: true,
},
turbopack: {},
// Cutover: Research consolidated into the marketing app at
// recoupable.com/research. These 301s preserve SEO authority + inbound links
// from the old research.recoupable.com subdomain. See docs/research-cutover.md.
async redirects() {
return [
{
source: "/blog/:slug",
destination: "https://recoupable.com/research/:slug",
permanent: true,
},
{
source: "/blog",
destination: "https://recoupable.com/research",
permanent: true,
},
{
source: "/",
destination: "https://recoupable.com/research",
permanent: true,
},
];
},
};

export default withContentlayer(nextConfig);