feat: add redirect from /board/* to canvas.jeffemmett.com

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 <noreply@anthropic.com>
This commit is contained in:
Jeff Emmett 2026-01-02 15:28:32 +01:00
parent b482cab8cf
commit bd918093ca
1 changed files with 11 additions and 0 deletions

View File

@ -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