Compare commits
1 Commits
| Author | SHA1 | Date |
|---|---|---|
|
|
bd918093ca |
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue