Skip to content

Commit c74e181

Browse files
committed
Use 404 plugin
1 parent 8f3410b commit c74e181

File tree

1 file changed

+17
-1
lines changed

1 file changed

+17
-1
lines changed

netlify.toml

+17-1
Original file line numberDiff line numberDiff line change
@@ -47,4 +47,20 @@
4747
providers = [
4848
"google",
4949
"yandex"
50-
]
50+
]
51+
52+
[[plugins]]
53+
# https://github.com/netlify-labs/netlify-plugin-a11y#readme
54+
package = "@eggnstone/netlify-plugin-no-more-404"
55+
56+
# all inputs are optional, we just show you the defaults below
57+
[plugins.inputs]
58+
59+
# either "warn" or "error"
60+
on404 = "error"
61+
62+
# change this key to a new one any time you need to restart from scratch
63+
cacheKey = "Jan202025"
64+
65+
# (for development) turn true for extra diagnostic logging
66+
debugMode = true

0 commit comments

Comments
 (0)