Add a new setting to choose the server landing page (#36588)

This commit is contained in:
Renaud Chaput 2025-10-27 11:16:59 +01:00 committed by GitHub
parent e40ca321ed
commit 779a1f8448
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
72 changed files with 81 additions and 135 deletions

View file

@ -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?,