Skip to content
Snippets Groups Projects
Commit d68df88d authored by Eugen Rochko's avatar Eugen Rochko Committed by GitHub
Browse files

Disable private status federation over OStatus (#5027)

parent c8580eb8
No related branches found
No related tags found
No related merge requests found
......@@ -18,7 +18,7 @@ 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 = true
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}" }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment