Skip to content

Commit

Permalink
feat: Add light and dark legacy route redirects
Browse files Browse the repository at this point in the history
  • Loading branch information
reobin committed May 9, 2024
1 parent 76ca24d commit 11a6253
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions next.config.js
Expand Up @@ -5,6 +5,8 @@ const nextConfig = {
redirects: async () => [
{ source: '/', destination: '/i/trending', permanent: true },
{ source: '/trending', destination: '/i/trending', permanent: true },
{ source: '/light', destination: '/i/trending/b.light', permanent: true },
{ source: '/dark', destination: '/i/trending/b.dark', permanent: true },
{
source: '/light/trending',
destination: '/i/trending/b.light',
Expand Down

0 comments on commit 11a6253

Please sign in to comment.