Skip to content

Commit

Permalink
I cant figure out why it cant find current_shopify_domain please dont…
Browse files Browse the repository at this point in the history
… include this commit
  • Loading branch information
zzooeeyy committed Apr 10, 2024
1 parent eeb490b commit e3e43cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/shopify_app/controller_concerns/frame_ancestors.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ module FrameAncestors
included do
content_security_policy do |policy|
policy.frame_ancestors(-> do
domain_host = current_shopify_domain || "*.#{::ShopifyApp.configuration.myshopify_domain}"
domain_host = "*.#{::ShopifyApp.configuration.myshopify_domain}"
"#{ShopifyAPI::Context.host_scheme}://#{domain_host} https://admin.shopify.com"
end)
end
Expand Down

0 comments on commit e3e43cf

Please sign in to comment.