Skip to content

Commit c03c04e

Browse files
authored
Netlify config fixes... fixes (#634)
1 parent 80e4eba commit c03c04e

File tree

2 files changed

+5
-15
lines changed

2 files changed

+5
-15
lines changed

docs/example-react-redux.md

Lines changed: 0 additions & 7 deletions
This file was deleted.

netlify.toml

Lines changed: 5 additions & 8 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,11 +88,3 @@
8388
[[redirects]]
8489
from = "/nightwatch/"
8590
to = "/docs/nightwatch-testing-library/intro"
86-
[[redirects]]
87-
from = "https://testing-library.com/docs/example-react-redux"
88-
to = "https://redux.js.org/recipes/writing-tests#connected-components"
89-
90-
# Redirect screen error message to correct page
91-
[[redirects]]
92-
from = "https://testing-library.com/s/screen-global-error"
93-
to = "https://testing-library.com/docs/dom-testing-library/api-queries#screen"

0 commit comments

Comments
 (0)