Fix user agent

parent e25b6b00
Pipeline #104886813 passed with stage
in 6 minutes and 23 seconds
...@@ -66,7 +66,7 @@ module GabSocial ...@@ -66,7 +66,7 @@ module GabSocial
end end
def user_agent def user_agent
@user_agent ||= "#{HTTP::Request::USER_AGENT} (Mastodon/#{Version}; +http#{Rails.configuration.x.use_https ? 's' : ''}://#{Rails.configuration.x.web_domain}/)" @user_agent ||= "#{HTTP::Request::USER_AGENT} (Soapbox/#{Version}; +http#{Rails.configuration.x.use_https ? 's' : ''}://#{Rails.configuration.x.web_domain}/)"
end end
end end
end end
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment