Skip to content

Commit

Permalink
feat: /roadmap redirects to youtrack
Browse files Browse the repository at this point in the history
  • Loading branch information
Pantotone committed Feb 4, 2024
1 parent 8f7e3e9 commit 31adb09
Showing 1 changed file with 17 additions and 7 deletions.
24 changes: 17 additions & 7 deletions next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,14 +30,24 @@ const nextConfig = {

images: {
remotePatterns: [
{
protocol: 'https',
hostname: 'news.yarg.in',
port: '',
pathname: '/images/**',
},
{
protocol: 'https',
hostname: 'news.yarg.in',
port: '',
pathname: '/images/**',
},
],
}
},

async redirects() {
return [
{
source: '/roadmap',
destination: 'https://yarg.youtrack.cloud/agiles/147-7/current',
permanent: false,
},
]
},
}

module.exports = nextConfig

0 comments on commit 31adb09

Please sign in to comment.