Skip to content

Commit f572193

Browse files
afontcuKent C. Dodds
authored andcommitted
Add /dom redirect (testing-library#204)
1 parent 4ddc656 commit f572193

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

netlify.toml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,13 @@
4141
status = 301
4242
force = false # do not redirect if route is not 404
4343

44+
# DOM landing page to home page
45+
[[redirects]]
46+
from = "https://testing-library.com/dom/"
47+
to = "https://testing-library.com/docs/dom-testing-library/intro"
48+
status = 301
49+
force = true
50+
4451
# React landing page to home page
4552
[[redirects]]
4653
from = "https://testing-library.com/react/"

0 commit comments

Comments
 (0)