Skip to content

Commit 814fdcf

Browse files
authored
fix: stop API reference redirect loop (#506)
## Summary - remove the redirect from `/zksync-protocol/api` to `/build/api-reference` - keep the legacy `/build/api-reference` redirect pointed at `/zksync-protocol/api` - fix the `ERR_TOO_MANY_REDIRECTS` loop reached from Developers -> APIs ## Root Cause `firebase.json` had two 301 redirects pointing at each other: - `/zksync-protocol/api` -> `/build/api-reference` - `/build/api-reference` -> `/zksync-protocol/api` ## Sources - `firebase.json` (redirects section) - user report reproducing the live loop: `https://docs.zksync.io/zksync-protocol/api` and `https://docs.zksync.io/build/api-reference` ## Uncertainty List - none ## Acceptance Criteria - [x] `/zksync-protocol/api` remains the canonical API docs path - [x] `/build/api-reference` redirects to `/zksync-protocol/api` - [x] `bun run ci:check` - [ ] `bun run build` blocked locally by `[@nuxtjs/algolia] Missing apiKey` ## Policy Check - no forbidden paths were modified
1 parent ae7db1b commit 814fdcf

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

firebase.json

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -176,11 +176,6 @@
176176
"destination": "/zksync-network/quick-start",
177177
"type": 301
178178
},
179-
{
180-
"source": "/zksync-protocol/api",
181-
"destination": "/build/api-reference",
182-
"type": 301
183-
},
184179
{
185180
"source": "/build/api-reference",
186181
"destination": "/zksync-protocol/api",

0 commit comments

Comments
 (0)