🔧(backend) add FRONTEND_THEME setting

The frontend need to know the theme to be used,
so we need to add a new setting to the backend,
in order to expose this value to the frontend.
This commit is contained in:
Anthony LC
2024-11-15 11:43:10 +01:00
committed by Anthony LC
parent 016597d5a2
commit c8edbd285b
4 changed files with 22 additions and 9 deletions

View File

@@ -901,8 +901,9 @@ class ConfigView(views.APIView):
Return a dictionary of public settings.
"""
array_settings = [
"ENVIRONMENT",
"COLLABORATION_SERVER_URL",
"ENVIRONMENT",
"FRONTEND_THEME",
"MEDIA_BASE_URL",
"LANGUAGES",
"LANGUAGE_CODE",