Skip to content

Commit

Permalink
redirect old quickstarts
Browse files Browse the repository at this point in the history
  • Loading branch information
sarahschwartz committed May 15, 2024
1 parent 4b211d7 commit 5b78e69
Showing 1 changed file with 34 additions and 9 deletions.
43 changes: 34 additions & 9 deletions next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,27 +51,27 @@ const nextConfig = {
{
source: '/docs/',
destination: '/',
permanent: true,
permanent: false,
},
{
source: '/docs/wallet/',
destination: '/docs/wallet/install/',
permanent: true,
permanent: false,
},
{
source: '/docs/nightly/wallet/',
destination: '/docs/nightly/wallet/install/',
permanent: true,
permanent: false,
},
{
source: '/docs/graphql/',
destination: '/docs/graphql/overview/',
permanent: true,
permanent: false,
},
{
source: '/docs/nightly/graphql/',
destination: '/docs/nightly/graphql/overview/',
permanent: true,
permanent: false,
},
{
source: '/guides/testnet-migration/',
Expand All @@ -96,17 +96,17 @@ const nextConfig = {
{
source: '/docs/fuels-rs/contributing/',
destination: '/docs/fuels-rs/contributing/contributing/',
permanent: true,
permanent: false,
},
{
source: '/docs/wallet/contributing/',
destination: '/docs/wallet/contributing/running-locally/',
permanent: true,
permanent: false,
},
{
source: '/docs/wallet/dev/',
destination: '/docs/wallet/dev/getting-started/',
permanent: true,
permanent: false,
},
{
source: '/guides/running-a-node/running-a-beta-4-node/',
Expand All @@ -116,7 +116,32 @@ const nextConfig = {
{
source: '/docs/fuelup/:slug*',
destination: 'https://install.fuel.network/latest/',
permanent: true,
permanent: false,
},
{
source: '/docs/intro/quickstart-contract/',
destination: '/docs/intro/quickstart',
permanent: false,
},
{
source: '/docs/intro/quickstart-frontend/',
destination: '/docs/intro/quickstart',
permanent: false,
},
{
source: '/guides/quickstart/',
destination: '/docs/intro/quickstart',
permanent: false,
},
{
source: '/guides/quickstart/building-a-smart-contract/',
destination: '/guides/counter-dapp/building-a-smart-contract/',
permanent: false,
},
{
source: '/guides/quickstart/building-a-frontend/',
destination: '/guides/counter-dapp/building-a-frontend/',
permanent: false,
},
];
},
Expand Down

0 comments on commit 5b78e69

Please sign in to comment.