🔧(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

@@ -382,6 +382,11 @@ class Base(Configuration):
None, environ_name="COLLABORATION_SERVER_URL", environ_prefix=None
)
# Frontend
FRONTEND_THEME = values.Value(
None, environ_name="FRONTEND_THEME", environ_prefix=None
)
# Easy thumbnails
THUMBNAIL_EXTENSION = "webp"
THUMBNAIL_TRANSPARENCY_EXTENSION = "webp"