Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -50,11 +50,9 @@
)
def get_configs() -> ConfigResponse:
"""Get configs for UI."""
conf_dict = conf.as_dict()
config = {key: conf.get("webserver", key) for key in WEBSERVER_CONFIG_KEYS}

config = {key: conf_dict["webserver"].get(key) for key in WEBSERVER_CONFIG_KEYS}

config.update({key: conf_dict["api"].get(key) for key in API_CONFIG_KEYS})
config.update({key: conf.get("api", key) for key in API_CONFIG_KEYS})

task_log_reader = TaskLogReader()
additional_config: dict[str, Any] = {
Expand Down