We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ef63ee3 commit f3ef7bdCopy full SHA for f3ef7bd
lib/shopify_app/utils.rb
@@ -8,6 +8,7 @@ class << self
8
"myshopify.io",
9
"myshopify.com",
10
"spin.dev",
11
+ "shop.dev",
12
].freeze
13
14
def sanitize_shop_domain(shop_domain)
test/shopify_app/utils_test.rb
@@ -12,6 +12,9 @@ class UtilsTest < ActiveSupport::TestCase
"my-shop.myshopify.com",
"https://my-shop.myshopify.com",
"http://my-shop.myshopify.com",
15
+ "my-shop.shop.dev",
16
+ "https://my-shop.shop.dev",
17
+ "http://my-shop.shop.dev",
18
].each do |good_url|
19
test "sanitize_shop_domain for (#{good_url})" do
20
assert ShopifyApp::Utils.sanitize_shop_domain(good_url)
0 commit comments