Browse Source

feat: remove duplicate redirect, update api ref url

fix/update-miner-config
Alexander Graebe 4 years ago
parent
commit
b3fa5b03fd
  1. 12
      next.config.js
  2. 0
      src/pages/references/stacks-blockchain-api.md

12
next.config.js

@ -285,7 +285,7 @@ async function redirects() {
},
{
source: '/core/smart/rpc-api.html',
destination: '/references/stacks-blockchain',
destination: '/references/stacks-blockchain-api',
permanent: true,
},
{
@ -317,7 +317,7 @@ async function redirects() {
},
{
source: '/common/core_ref.html',
destination: '/references/stacks-blockchain',
destination: '/references/stacks-blockchain-api',
permanent: true,
},
{
@ -339,7 +339,6 @@ async function redirects() {
{ source: '/org/terms.html', destination: '/references/glossary', permanent: true },
// overview redirects
{ source: '/stacks-blockchain', destination: '/stacks-blockchain/overview', permanent: true },
{ source: '/stacks-blockchain', destination: '/stacks-blockchain/overview', permanent: true },
{ source: '/smart-contracts', destination: '/smart-contracts/overview', permanent: true },
{ source: '/data-storage', destination: '/data-storage/overview', permanent: true },
{ source: '/data-indexing', destination: '/data-storage/indexing-overview', permanent: true },
@ -416,7 +415,12 @@ async function redirects() {
},
{
source: '/references/stacks-rpc-api',
destination: '/references/stacks-blockchain',
destination: '/references/stacks-blockchain-api',
permanent: true,
},
{
source: '/references/stacks-blockchain',
destination: '/references/stacks-blockchain-api',
permanent: true,
},
];

0
src/pages/references/stacks-blockchain.md → src/pages/references/stacks-blockchain-api.md

Loading…
Cancel
Save