Skip to content

Commit dc60ef2

Browse files
committed
refactor: update redirects
1 parent 07b5647 commit dc60ef2

File tree

2 files changed

+6
-19
lines changed

2 files changed

+6
-19
lines changed

config/redirects.ts

Lines changed: 4 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -14,18 +14,11 @@ export const redirects: RedirectOption[] = [
1414
/* -------------------------------------------------------------------------- */
1515
redirect("/concepts/merkle-airdrops", "/concepts/airdrops"),
1616
/* -------------------------------------------------------------------------- */
17-
/* API */
17+
/* APIs */
1818
/* -------------------------------------------------------------------------- */
19-
redirect("/api", "/api/overview"),
20-
// TODO: change this to the new GraphQL section
21-
redirect("/api/airdrops/the-graph", "/api/overview"),
22-
redirect("/api/indexers/protocol", "/api/overview"),
23-
redirect("/api/lockup/the-graph", "/api/overview"),
24-
redirect("/api/merkle-api/intro", "/api/airdrops/merkle-api/overview"),
25-
redirect("/api/subgraphs/endpoints", "/api/lockup/indexers"),
26-
redirect("/api/subgraphs/merkle", "/api/overview"),
27-
redirect("/api/subgraphs/overview", "/api/overview"),
28-
redirect("/api/subgraphs/protocol", "/api/overview"),
19+
redirect("/api/airdrops/endpoints", "/api/airdrops/indexers"),
20+
redirect("/api/flow/endpoints", "/api/flow/indexers"),
21+
redirect("/api/lockup/endpoints", "/api/lockup/indexers"),
2922
/* -------------------------------------------------------------------------- */
3023
/* APPS */
3124
/* -------------------------------------------------------------------------- */
@@ -39,12 +32,6 @@ export const redirects: RedirectOption[] = [
3932
redirect("/apps/support/how-to", "/support/how-to"),
4033
redirect("/apps/url-schemes", "/apps/guides/url-schemes"),
4134
/* -------------------------------------------------------------------------- */
42-
/* INDEXERS */
43-
/* -------------------------------------------------------------------------- */
44-
redirect("/api/airdrops/endpoints", "/api/airdrops/indexers"),
45-
redirect("/api/flow/endpoints", "/api/flow/indexers"),
46-
redirect("/api/lockup/endpoints", "/api/lockup/indexers"),
47-
/* -------------------------------------------------------------------------- */
4835
/* LEGACY: 2019-2021 */
4936
/* -------------------------------------------------------------------------- */
5037
redirect("/protocol/faq/basics", "/concepts/what-is-sablier"),

docs/apps/guides/02-url-schemes.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ contract `alias`, the `chainId`, and the `streamId`, and then you add them to th
5151
As you can see, the main format is `contractA-chainId-streamId`. This is supported both at the app and the subgraph
5252
level. For situations when an alias cannot be used, we fallback to the following format:
5353
`contractAddress-chainId-streamId`. Read more about identifiers and aliases in our
54-
[subgraph documentation](/api/overview). {/* TODO: update link */}
54+
[APIs docs](/api/ids).
5555

5656
---
5757

@@ -121,7 +121,7 @@ contract `alias`, the `chainId`, and the `streamId`, and then you add them to th
121121
| [app.sablier.com/stream/0xe72[...]bbabc-11155111](https://app.sablier.com/airstream/0xe72175dd12ac7efca6b7d12dfc913a5f661bbabc-11155111) | Airstream on Ethereum Sepolia |
122122

123123
As you can see, the main format is `contractA-chainId`. This is supported both at the app and the subgraph level. Read
124-
more about identifiers and aliases in our [subgraph documentation](/api/overview). {/* TODO: update link */}
124+
more about identifiers and aliases in our [APIs docs](/api/ids).
125125

126126
## Search Airstreams
127127

0 commit comments

Comments
 (0)