website: Fix incorrect objects page redirect (#31091)

Deletes a previous forced redirect of the objects page and updates the
intended redirect to the correct one

Fixes #30214

Co-authored-by: jimmy-joseph <jimmy@jimmyjoseph.com>
website
Jimmy Joseph 1 week ago committed by GitHub
parent 51b22135ad
commit e99487c152
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 7
      netlify.toml
  2. 7
      redirects.js

@ -192,12 +192,7 @@
[[redirects]] [[redirects]]
from = "/docs/rpc/objects" from = "/docs/rpc/objects"
to = "/docs" to = "/docs/interacting-with-geth/rpc/objects"
force = true
[[redirects]]
from = "/docs/interacting-with-geth/rpc/objects"
to = "/docs"
force = true force = true
[[redirects]] [[redirects]]

@ -183,12 +183,7 @@ const redirects = [
}, },
{ {
source: '/docs/rpc/objects', source: '/docs/rpc/objects',
destination: '/docs', destination: '/docs/interacting-with-geth/rpc/objects',
permanent: true
},
{
source: '/docs/interacting-with-geth/rpc/objects',
destination: '/docs',
permanent: true permanent: true
}, },
{ {

Loading…
Cancel
Save