Compare commits

...

1 Commits
main ... dev

Author SHA1 Message Date
Jeff Emmett bd918093ca 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>
2026-01-02 15:28:32 +01:00
1 changed files with 11 additions and 0 deletions

View File

@ -7,6 +7,17 @@ const nextConfig = {
images: { images: {
unoptimized: true, 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 export default nextConfig