Skip to content

Commit 71f215b

Browse files
committed
manually control redirects
1 parent 6576ee3 commit 71f215b

File tree

1 file changed

+15
-3
lines changed

1 file changed

+15
-3
lines changed

netlify.toml

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,19 @@
1010

1111
# For versions like v1.2.3, v2.0.1, etc.
1212
[[redirects]]
13-
from = '/v:major.:minor.:patch/*'
14-
to = 'https://release-v:major-:minor-:patch--z-changeset-practice.netlify.app/:splat'
13+
from = '/v0.2.3/*'
14+
to = 'https://release-v0-2-3--z-changeset-practice.netlify.app/:splat'
1515
status = 200
16-
force = true
16+
force = true
17+
18+
[[redirects]]
19+
from = '/v0.2.2/*'
20+
to = 'https://release-v0-2-2--z-changeset-practice.netlify.app/:splat'
21+
status = 200
22+
force = true
23+
24+
[[redirects]]
25+
from = '/v0.2.1/*'
26+
to = 'https://release-v0-2-1--z-changeset-practice.netlify.app/:splat'
27+
status = 200
28+
force = true

0 commit comments

Comments
 (0)