mirror of
https://github.com/yingziwu/mastodon.git
synced 2026-02-04 03:25:14 +00:00
Add a new setting to choose the server landing page (#36588)
This commit is contained in:
parent
e40ca321ed
commit
779a1f8448
72 changed files with 81 additions and 135 deletions
|
|
@ -113,7 +113,7 @@ class InitialStateSerializer < ActiveModel::Serializer
|
|||
status_page_url: Setting.status_page_url,
|
||||
streaming_api_base_url: Rails.configuration.x.streaming_api_base_url,
|
||||
title: instance_presenter.title,
|
||||
trends_as_landing_page: Setting.trends_as_landing_page,
|
||||
landing_page: Setting.landing_page,
|
||||
trends_enabled: Setting.trends,
|
||||
version: instance_presenter.version,
|
||||
terms_of_service_enabled: TermsOfService.current.present?,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue