about summary refs log tree commit diff
path: root/app/views/api/v1
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/api/v1')
-rw-r--r--app/views/api/v1/instances/show.rabl3
1 files changed, 3 insertions, 0 deletions
diff --git a/app/views/api/v1/instances/show.rabl b/app/views/api/v1/instances/show.rabl
index 313aabb0b..05fb65031 100644
--- a/app/views/api/v1/instances/show.rabl
+++ b/app/views/api/v1/instances/show.rabl
@@ -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