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 55fb21f commit db56527Copy full SHA for db56527
lib/shopify_api/auth/oauth.rb
@@ -116,7 +116,7 @@ def auth_base_uri(shop)
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")) # rubocop:disable Sorbet/ConstantsFromStrings
118
.new("admin-web")
119
- admin_host = admin_web.host!
+ admin_host = admin_web.host!(nonstandard_host_prefix: "admin")
120
shop_name = shop.split(".").first
121
122
"https://#{admin_host}/store/#{shop_name}"
0 commit comments