Skip to content

Commit

Permalink
fix(gatsby-plugin-netlify): fix typo (#28907)
Browse files Browse the repository at this point in the history
  • Loading branch information
muescha authored Jan 8, 2021
1 parent 6736a6d commit 0e20f01
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/gatsby-plugin-netlify/src/gatsby-node.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,11 @@ exports.onPostBuild = async (
])
}

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

return Joi.object({
Expand Down

0 comments on commit 0e20f01

Please sign in to comment.