Commit e6924c89 authored by Alex Gleason's avatar Alex Gleason

Merge branch 'version' into 'master'

Fix user agent

See merge request !141
parents e25b6b00 d548f6eb
Pipeline #104887091 passed with stage
in 7 minutes and 5 seconds
......@@ -66,7 +66,7 @@ module GabSocial
end
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
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