mirror of
https://git.bsd.gay/fef/nyastodon.git
synced 2024-12-26 03:13:41 +01:00
Disable private status federation over OStatus (#5027)
This commit is contained in:
parent
c8580eb806
commit
d68df88d4e
1 changed files with 1 additions and 1 deletions
|
@ -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.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.streaming_api_base_url = 'ws://localhost:4000'
|
||||||
config.x.use_ostatus_privacy = true
|
config.x.use_ostatus_privacy = false
|
||||||
|
|
||||||
if Rails.env.production?
|
if Rails.env.production?
|
||||||
config.x.streaming_api_base_url = ENV.fetch('STREAMING_API_BASE_URL') { "ws#{https ? 's' : ''}://#{web_host}" }
|
config.x.streaming_api_base_url = ENV.fetch('STREAMING_API_BASE_URL') { "ws#{https ? 's' : ''}://#{web_host}" }
|
||||||
|
|
Loading…
Reference in a new issue