diff --git a/services/web/server/src/simcore_service_webserver/application_settings.py b/services/web/server/src/simcore_service_webserver/application_settings.py index 38eb7f9fb0a..7101165fa13 100644 --- a/services/web/server/src/simcore_service_webserver/application_settings.py +++ b/services/web/server/src/simcore_service_webserver/application_settings.py @@ -540,6 +540,7 @@ def to_client_statics(self) -> dict[str, Any]: "SIMCORE_VCS_RELEASE_TAG": True, "SIMCORE_VCS_RELEASE_URL": True, "SWARM_STACK_NAME": True, + "WEBSERVER_DEV_FEATURES_ENABLED": True, "WEBSERVER_LOGIN": { "LOGIN_ACCOUNT_DELETION_RETENTION_DAYS", "LOGIN_2FA_REQUIRED", @@ -547,10 +548,10 @@ def to_client_statics(self) -> dict[str, Any]: "WEBSERVER_PROJECTS": { "PROJECTS_MAX_NUM_RUNNING_DYNAMIC_NODES", }, + "WEBSERVER_SESSION": {"SESSION_COOKIE_MAX_AGE"}, "WEBSERVER_TRASH": { "TRASH_RETENTION_DAYS", }, - "WEBSERVER_SESSION": {"SESSION_COOKIE_MAX_AGE"}, }, exclude_none=True, ) diff --git a/services/web/server/tests/unit/isolated/test_application_settings.py b/services/web/server/tests/unit/isolated/test_application_settings.py index 7ead40a3c27..3d8c0c8002d 100644 --- a/services/web/server/tests/unit/isolated/test_application_settings.py +++ b/services/web/server/tests/unit/isolated/test_application_settings.py @@ -93,6 +93,7 @@ def test_settings_to_client_statics_plugins( assert settings.WEBSERVER_LOGIN assert "webserverLicenses" not in statics + assert "webserverDevFeaturesEnabled" in statics assert ( statics["webserverLogin"]["LOGIN_ACCOUNT_DELETION_RETENTION_DAYS"]