Browse Source

Add streaming_api_base_url to /api/v1/instance (#3556)

* Add streaming_api_base_url to /api/v1/instance

* Adjust spaces

* nested view

* re-adjust spaces
closed-social-v3
IkUrA 7 years ago
committed by Eugen Rochko
parent
commit
facd90e7a6
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      app/views/api/v1/instances/show.rabl

+ 3
- 0
app/views/api/v1/instances/show.rabl View File

@ -5,3 +5,6 @@ node(:title) { Setting.site_title }
node(:description) { Setting.site_description }
node(:email) { Setting.site_contact_email }
node(:version) { Mastodon::Version.to_s }
node :urls do
{ :streaming_api => Rails.configuration.x.streaming_api_base_url }
end

Loading…
Cancel
Save