mirror of
https://github.com/suitenumerique/docs.git
synced 2026-09-12 20:57:56 +02:00
🩺(project) reload app if front and back unsync
We observe some cases where the frontend and backend versions can get out of sync, which can cause issues. To mitigate this, we want to implement a mechanism that detects when the frontend and backend versions are mismatched and triggers a reload of the application to ensure they are in sync.
This commit is contained in:
@@ -2841,6 +2841,7 @@ class ConfigView(drf.views.APIView):
|
||||
dict_settings[setting] = getattr(settings, setting)
|
||||
|
||||
dict_settings["theme_customization"] = self._load_theme_customization()
|
||||
dict_settings["RELEASE_VERSION"] = settings.RELEASE
|
||||
|
||||
return drf.response.Response(dict_settings)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user