Skip to content

Commit

Permalink
fix shopify source store url check (#32003) (#32031)
Browse files Browse the repository at this point in the history
(cherry picked from commit 92346b7)

Co-authored-by: Daniel Lew <[email protected]>
  • Loading branch information
GatsbyJS Bot and DanielSLew authored Jun 22, 2021
1 parent b0de8f8 commit 19fbb6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/gatsby-source-shopify/src/gatsby-node.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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`
)
Expand Down

0 comments on commit 19fbb6a

Please sign in to comment.