Skip to content

Commit 5daf4fc

Browse files
author
Kent C. Dodds
authored
Update netlify.toml
1 parent 0fd954d commit 5daf4fc

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

netlify.toml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,3 +75,12 @@
7575
to = "https://testing-library.com/docs/pptr-testing-library/intro"
7676
status = 301
7777
force = true
78+
79+
# Preact page. Hopefully it'll join this website eventually
80+
# but for now it'll be nice to be able to use the URL in content/twitter/etc.
81+
# and not have to worry about updating those URLs in the future.
82+
[[redirects]]
83+
from = "https://testing-library.com/preact/"
84+
to = "https://github.com/antsmartian/preact-testing-library"
85+
status = 301
86+
force = true

0 commit comments

Comments
 (0)