Skip to content

Commit

Permalink
added redirects
Browse files Browse the repository at this point in the history
  • Loading branch information
baktun14 committed Jan 16, 2024
1 parent bca41a5 commit 04b9d7f
Showing 1 changed file with 52 additions and 9 deletions.
61 changes: 52 additions & 9 deletions deploy-web/next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,11 @@ const moduleExports = {
destination: "/cloud-deploy",
permanent: true
},
{
source: "/price-compare",
destination: "https://akash.network/about/pricing/custom/",
permanent: false
},
{
source: "/analytics",
destination: "https://stats.akash.network",
Expand All @@ -69,17 +74,55 @@ const moduleExports = {
permanent: false
},
{
source: "/price-compare",
destination: "https://akash.network/about/pricing/custom/",
source: "/validators",
destination: "https://stats.akash.network/validators",
permanent: false
},
{
source: "/validators/:address*",
destination: "https://stats.akash.network/validators/:address*",
permanent: false
},
{
source: "/addresses/:address*",
destination: "https://stats.akash.network/addresses/:address*",
permanent: false
},
{
source: "/addresses/:address/transactions",
destination: "https://stats.akash.network/addresses/:address/transactions",
permanent: false
},
{
source: "/addresses/:address/deployments",
destination: "https://stats.akash.network/addresses/:address/deployments",
permanent: false
},
{
source: "/deployment/:address/:dseq*",
destination: "https://stats.akash.network/addresses/:address/deployments/:dseq*",
permanent: false
},
{
source: "/blocks",
destination: "https://stats.akash.network/blocks",
permanent: false
},
{
source: "/blocks/:height*",
destination: "https://stats.akash.network/blocks/:height*",
permanent: false
},
{
source: "/transactions",
destination: "https://stats.akash.network/transactions",
permanent: false
},
{
source: "/transactions/:hash*",
destination: "https://stats.akash.network/transactions/:hash*",
permanent: false
}
// TODO
// Validators
// Addresses
// Blocks
// Transactions
// Public deployment

];
}
};
Expand Down

0 comments on commit 04b9d7f

Please sign in to comment.