Skip to content

Commit bc82787

Browse files
committed
chore: updated netlify redirects
1 parent 8886bce commit bc82787

1 file changed

Lines changed: 179 additions & 0 deletions

File tree

netlify.toml

Lines changed: 179 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,182 @@ publish = ".next"
44

55
[[plugins]]
66
package = "@netlify/plugin-nextjs"
7+
8+
# Stellar Contracts
9+
10+
[[redirects]]
11+
from = "/stellar-contracts/0.4.0/*"
12+
to = "/stellar-contracts/:splat"
13+
status = 301
14+
15+
[[redirects]]
16+
from = "/stellar-contracts/0.1.0/*"
17+
to = "/stellar-contracts/:splat"
18+
status = 301
19+
20+
# Contracts Cairo
21+
22+
[[redirects]]
23+
from = "/contracts-cairo/3.0.0/*"
24+
to = "/contracts-cairo/:splat"
25+
status = 301
26+
27+
[[redirects]]
28+
from = "/contracts-cairo/3.0.0-alpha.2/*"
29+
to = "/contracts-cairo/:splat"
30+
status = 301
31+
32+
[[redirects]]
33+
from = "/contracts-cairo/3.0.0-alpha.1/*"
34+
to = "/contracts-cairo/:splat"
35+
status = 301
36+
37+
[[redirects]]
38+
from = "/contracts-cairo/2.0.0-alpha.1/*"
39+
to = "/contracts-cairo/2.0.0/:splat"
40+
status = 301
41+
42+
[[redirects]]
43+
from = "/contracts-cairo/0.20.0/*"
44+
to = "/contracts-cairo/:splat"
45+
status = 301
46+
47+
# Community Contracts
48+
49+
[[redirects]]
50+
from = "/community-contracts/0.0.1/*"
51+
to = "/community-contracts/:splat"
52+
status = 301
53+
54+
# Midnight Compact
55+
56+
[[redirects]]
57+
from = "/contracts-compact/0.0.1/*"
58+
to = "/community-contracts/:splat"
59+
status = 301
60+
61+
# Stylus
62+
63+
[[redirects]]
64+
from = "/contracts-stylus/0.3.0/*"
65+
to = "/contracts-stylus/:splat"
66+
status = 301
67+
68+
# Polkadot Substrate Runtimes
69+
70+
[[redirects]]
71+
from = "/substrate-runtimes/3.0.0-rc/*"
72+
to = "/substrate-runtimes/:splat"
73+
status = 301
74+
75+
# Uniswap Hooks
76+
77+
[[redirects]]
78+
from = "/uniswap-hooks/1.x/*"
79+
to = "/uniswap-hooks/:splat"
80+
status = 301
81+
82+
# Zama Confidential contracts
83+
84+
[[redirects]]
85+
from = "/confidential-contracts/0.2/*"
86+
to = "/confidential-contracts/:splat"
87+
status = 301
88+
89+
# Tools redirects
90+
91+
[[redirects]]
92+
from = "/subgraphs/0.1.x/*"
93+
to = "/contracts/5.x/subgraphs/:splat"
94+
status = 301
95+
96+
[[redirects]]
97+
from = "/monitor/1.0.x/*"
98+
to = "/monitor/:splat"
99+
status = 301
100+
101+
[[redirects]]
102+
from = "/monitor/0.2.x/*"
103+
to = "/monitor/:splat"
104+
status = 301
105+
106+
[[redirects]]
107+
from = "/monitor/0.1.0/*"
108+
to = "/monitor/:splat"
109+
status = 301
110+
111+
[[redirects]]
112+
from = "/relayer/1.1.x/*"
113+
to = "/relayer/:splat"
114+
status = 301
115+
116+
[[redirects]]
117+
from = "/relayer/1.0.x/*"
118+
to = "/relayer/:splat"
119+
status = 301
120+
121+
[[redirects]]
122+
from = "/relayer/0.2.x/*"
123+
to = "/relayer/:splat"
124+
status = 301
125+
126+
[[redirects]]
127+
from = "/relayer/0.1.0/*"
128+
to = "/relayer/:splat"
129+
status = 301
130+
131+
[[redirects]]
132+
from = "/relayer/0.1.x/*"
133+
to = "/relayer/:splat"
134+
status = 301
135+
136+
[[redirects]]
137+
from = "/contracts-ui-builder/1.0.x/*"
138+
to = "/contracts-ui-builder/:splat"
139+
status = 301
140+
141+
[[redirects]]
142+
from = "/learn/*"
143+
to = "/contracts/5.x/learn/:splat"
144+
status = 301
145+
146+
# Deprecated projects redirects
147+
[[redirects]]
148+
from = "/cli/*"
149+
to = "/"
150+
status = 301
151+
152+
[[redirects]]
153+
from = "/network-js/*"
154+
to = "/"
155+
status = 301
156+
157+
[[redirects]]
158+
from = "/nile/*"
159+
to = "/"
160+
status = 301
161+
162+
[[redirects]]
163+
from = "/test-environment/*"
164+
to = "/"
165+
status = 301
166+
167+
[[redirects]]
168+
from = "/test-helpers/*"
169+
to = "/"
170+
status = 301
171+
172+
[[redirects]]
173+
from = "/gsn-helpers/*"
174+
to = "/"
175+
status = 301
176+
177+
[[redirects]]
178+
from = "/gsn-provider/*"
179+
to = "/"
180+
status = 301
181+
182+
[[redirects]]
183+
from = "/starter-kits/*"
184+
to = "/"
185+
status = 301

0 commit comments

Comments
 (0)