We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f33b9f1 commit 55fb21fCopy full SHA for 55fb21f
lib/shopify_api/auth/oauth.rb
@@ -114,8 +114,9 @@ def auth_base_uri(shop)
114
return "https://#{shop}/admin" unless defined?(DevServer) && shop.include?(".my.shop.dev")
115
116
# For first-party apps in development only, we leverage DevServer to build the admin base URI
117
- admin_web = T.unsafe(Object.const_get("DevServer")).new("web") # rubocop:disable Sorbet/ConstantsFromStrings
118
- admin_host = admin_web.host!(nonstandard_host_prefix: "admin")
+ admin_web = T.unsafe(Object.const_get("DevServer")) # rubocop:disable Sorbet/ConstantsFromStrings
+ .new("admin-web")
119
+ admin_host = admin_web.host!
120
shop_name = shop.split(".").first
121
122
"https://#{admin_host}/store/#{shop_name}"
0 commit comments