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
|
@ -21,7 +21,7 @@ Rails.application.configure do
|
|||
|
||||
config.x.streaming_api_base_url = ENV.fetch('STREAMING_API_BASE_URL') do
|
||||
if Rails.env.production?
|
||||
"ws#{https ? 's' : ''}://#{web_host}"
|
||||
"ws#{'s' if https}://#{web_host}"
|
||||
else
|
||||
"ws://#{host.split(':').first}:4000"
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue