Skip to content

Commit

Permalink
fix shopify source store url check (#32003)
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielSLew authored Jun 21, 2021
1 parent 8b089a8 commit 92346b7
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 92346b7

Please sign in to comment.