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 cbc8bfc commit 1540087Copy full SHA for 1540087
app/jobs/cache/browser_channels/responses_for_prefix.rb
@@ -163,6 +163,9 @@ def get_site_banner_details(site_banner_lookup)
163
include_web3 = (site_banner_lookup.channel.crypto_address_for_channels.length > 0) && public_id
164
details.web3_url = include_web3 ? "#{ENV["CREATORS_HOST"]}/c/#{public_id}" : ""
165
166
+ # ENV host variables serve various purposes, some will begin with https and some wont
167
+ details.web3_url.start_with?("https://") ? details.web3_url : "https://#{details.web3_url}"
168
+
169
if site_banner_lookup.derived_site_banner_info["socialLinks"].present?
170
social_links_pb = nil
171
site_banner_lookup.derived_site_banner_info["socialLinks"].each do |domain, handle|
0 commit comments