0
0
Fork 0

Follow-up to #4582 and #5027, removing dead code (#5101)

This commit is contained in:
Eugen Rochko 2017-09-26 01:06:27 +02:00 committed by GitHub
parent cf7fbf2c56
commit e528114c53
4 changed files with 7 additions and 63 deletions

View file

@ -18,7 +18,6 @@ Rails.application.configure do
config.action_mailer.default_url_options = { host: web_host, protocol: https ? 'https://' : 'http://', trailing_slash: false }
config.x.streaming_api_base_url = 'ws://localhost:4000'
config.x.use_ostatus_privacy = false
if Rails.env.production?
config.x.streaming_api_base_url = ENV.fetch('STREAMING_API_BASE_URL') { "ws#{https ? 's' : ''}://#{web_host}" }