Skip to content

Commit

Permalink
fix: add explorer to redirects
Browse files Browse the repository at this point in the history
  • Loading branch information
Aerilym committed Jul 9, 2024
1 parent a27d082 commit 99051cf
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions apps/staking/next.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,15 @@ const nextConfig = {
},
];
},
redirects: async () => {
return [
{
source: '/explorer/:contract*',
destination: 'https://sepolia.arbiscan.io/address/:contract*',
permanent: true,
},
];
},
};

export default withNextIntl(nextConfig);

0 comments on commit 99051cf

Please sign in to comment.