From d213a133a3ad8dc77cac3a8339bc87da6f7776f1 Mon Sep 17 00:00:00 2001 From: Muescha <184316+muescha@users.noreply.github.com> Date: Thu, 7 Jan 2021 13:48:47 +0100 Subject: [PATCH] fix(gatsby-plugin-netlify): fix typo --- packages/gatsby-plugin-netlify/src/gatsby-node.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/gatsby-plugin-netlify/src/gatsby-node.js b/packages/gatsby-plugin-netlify/src/gatsby-node.js index 1f8d1762e354b..721cb8e2dbe45 100644 --- a/packages/gatsby-plugin-netlify/src/gatsby-node.js +++ b/packages/gatsby-plugin-netlify/src/gatsby-node.js @@ -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({