Update rubocop to version 1.76.0 (#34926)
This commit is contained in:
parent
1fdcaaebbb
commit
1297ad759e
10 changed files with 14 additions and 11 deletions
|
@ -75,7 +75,7 @@ module Mastodon
|
|||
end
|
||||
|
||||
def user_agent
|
||||
@user_agent ||= "Mastodon/#{Version} (#{HTTP::Request::USER_AGENT}; +http#{Rails.configuration.x.use_https ? 's' : ''}://#{Rails.configuration.x.web_domain}/)"
|
||||
@user_agent ||= "Mastodon/#{Version} (#{HTTP::Request::USER_AGENT}; +http#{'s' if Rails.configuration.x.use_https}://#{Rails.configuration.x.web_domain}/)"
|
||||
end
|
||||
|
||||
def version_configuration
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue