Skip to content

Commit db56527

Browse files
committed
Use nonstandard_host_prefix
1 parent 55fb21f commit db56527

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/shopify_api/auth/oauth.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ def auth_base_uri(shop)
116116
# For first-party apps in development only, we leverage DevServer to build the admin base URI
117117
admin_web = T.unsafe(Object.const_get("DevServer")) # rubocop:disable Sorbet/ConstantsFromStrings
118118
.new("admin-web")
119-
admin_host = admin_web.host!
119+
admin_host = admin_web.host!(nonstandard_host_prefix: "admin")
120120
shop_name = shop.split(".").first
121121

122122
"https://#{admin_host}/store/#{shop_name}"

0 commit comments

Comments
 (0)