Skip to content

Commit

Permalink
fix: redirects main site (#314)
Browse files Browse the repository at this point in the history
# Description

Redirects for links with no "/" at the end and different extensions.

## Linked Issues

N/A - fixes links from zksync.io footer

## Additional context
  • Loading branch information
uF4No authored Jan 28, 2025
1 parent 20868e2 commit fc8a63b
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions firebase.json
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,16 @@
"destination": "/build/developer-reference/protocol",
"type": 301
},
{
"source": "/sdk:ext(.html|.md|)*",
"destination": "/zksync-era/sdk",
"type": 301
},
{
"source": "/sdk/:path*",
"destination": "/zksync-era/sdk/:path",
"type": 301
},
{
"source": "/sdk/:path*",
"destination": "https://docs.zksync.io/zksync-era/sdk/:path",
Expand Down Expand Up @@ -211,6 +221,16 @@
"destination": "/zksync-era/tooling/hardhat/plugins/other-plugins",
"type": 301
},
{
"source": "/ecosystem:ext(.html|.md|)*",
"destination": "/zksync-era/ecosystem",
"type": 301
},
{
"source": "/ecosystem/:path*",
"destination": "/new-destination",
"type": 301
},
{
"source": "/build/tooling/bridges.html",
"destination": "/zksync-era/ecosystem/bridges",
Expand Down

0 comments on commit fc8a63b

Please sign in to comment.