From bd918093ca0c43e8e0fb30525888319501aecaba Mon Sep 17 00:00:00 2001 From: Jeff Emmett Date: Fri, 2 Jan 2026 15:28:32 +0100 Subject: [PATCH] feat: add redirect from /board/* to canvas.jeffemmett.com MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Old canvas board URLs now redirect to the new canvas subdomain: - jeffemmett.com/board/mycofi -> canvas.jeffemmett.com/mycofi 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- next.config.mjs | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/next.config.mjs b/next.config.mjs index 8f9dc9b..5479964 100644 --- a/next.config.mjs +++ b/next.config.mjs @@ -7,6 +7,17 @@ const nextConfig = { images: { unoptimized: true, }, + async redirects() { + return [ + // Redirect old canvas board URLs to new canvas subdomain + // jeffemmett.com/board/mycofi -> canvas.jeffemmett.com/mycofi + { + source: '/board/:path*', + destination: 'https://canvas.jeffemmett.com/:path*', + permanent: true, // 308 redirect for SEO + }, + ] + }, } export default nextConfig