about summary refs log tree commit diff
path: root/app/serializers/rest
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2023-02-04 04:56:06 +0100
committerGitHub <noreply@github.com>2023-02-04 04:56:06 +0100
commit8f590b0a211716bcbfc0f2278a452469f3346f55 (patch)
treea7c7bcebe085ed589dd2549ab536d80de8df2ebf /app/serializers/rest
parent01584f03e8159cbb7b411f33bd4f66f7131ce993 (diff)
Add setting for status page URL (#23390)
Diffstat (limited to 'app/serializers/rest')
-rw-r--r--app/serializers/rest/instance_serializer.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/serializers/rest/instance_serializer.rb b/app/serializers/rest/instance_serializer.rb
index 5ae1099d0..fbb2fea0d 100644
--- a/app/serializers/rest/instance_serializer.rb
+++ b/app/serializers/rest/instance_serializer.rb
@@ -45,6 +45,7 @@ class REST::InstanceSerializer < ActiveModel::Serializer
     {
       urls: {
         streaming: Rails.configuration.x.streaming_api_base_url,
+        status: object.status_page_url,
       },
 
       accounts: {