Skip to content

Commit 9ebe7e5

Browse files
committed
Don't use hostnames in URLs for #611 error message
1 parent 4b353da commit 9ebe7e5

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

netlify.toml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,11 @@
4141
from = "/docs/example-react-redux"
4242
to = "https://redux.js.org/recipes/writing-tests#connected-components"
4343

44+
# Screen error message to correct page
45+
[[redirects]]
46+
from = "/s/screen-global-error"
47+
to = "/docs/dom-testing-library/api-queries#screen"
48+
4449
# Reorganization (do not redirect if route is not 404)
4550
[[redirects]]
4651
from = "/docs/*"
@@ -83,8 +88,3 @@
8388
[[redirects]]
8489
from = "/nightwatch/"
8590
to = "/docs/nightwatch-testing-library/intro"
86-
87-
# Redirect screen error message to correct page
88-
[[redirects]]
89-
from = "https://testing-library.com/s/screen-global-error"
90-
to = "https://testing-library.com/docs/dom-testing-library/api-queries#screen"

0 commit comments

Comments
 (0)