Skip to content

Commit 0e20f01

Browse files
authored
fix(gatsby-plugin-netlify): fix typo (#28907)
1 parent 6736a6d commit 0e20f01

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/gatsby-plugin-netlify/src/gatsby-node.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -53,11 +53,11 @@ exports.onPostBuild = async (
5353
])
5454
}
5555

56-
const MATH_ALL_KEYS = /^/
56+
const MATCH_ALL_KEYS = /^/
5757
const pluginOptionsSchema = function ({ Joi }) {
5858
// headers is a specific type used by Netlify: https://www.gatsbyjs.com/plugins/gatsby-plugin-netlify/#headers
5959
const headersSchema = Joi.object()
60-
.pattern(MATH_ALL_KEYS, Joi.array().items(Joi.string()))
60+
.pattern(MATCH_ALL_KEYS, Joi.array().items(Joi.string()))
6161
.description(`Add more Netlify headers to specific pages`)
6262

6363
return Joi.object({

0 commit comments

Comments
 (0)