From 92346b73911eff54fe21d3f8b1b8c5d1f53410a1 Mon Sep 17 00:00:00 2001 From: Daniel Lew <51924260+DanielSLew@users.noreply.github.com> Date: Mon, 21 Jun 2021 12:32:35 -0400 Subject: [PATCH] fix shopify source store url check (#32003) --- packages/gatsby-source-shopify/src/gatsby-node.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/gatsby-source-shopify/src/gatsby-node.ts b/packages/gatsby-source-shopify/src/gatsby-node.ts index cd71b6233364f..81dfc4c76365b 100644 --- a/packages/gatsby-source-shopify/src/gatsby-node.ts +++ b/packages/gatsby-source-shopify/src/gatsby-node.ts @@ -28,7 +28,7 @@ export function pluginOptionsSchema({ apiKey: Joi.string().required(), password: Joi.string().required(), storeUrl: Joi.string() - .pattern(/^[a-z-]+\.myshopify\.com$/) + .pattern(/^[a-z0-9-]+\.myshopify\.com$/) .message( `The storeUrl value should be your store's myshopify.com URL in the form "my-site.myshopify.com", without https or slashes` )