🔧(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:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user