Skip to content

Commit 4b1c131

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

File tree

1 file changed

+4
-17
lines changed

1 file changed

+4
-17
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"),

0 commit comments

Comments
 (0)